cvxpylayers icon indicating copy to clipboard operation
cvxpylayers copied to clipboard

Minor error in exception raised when parameter shape is inconsistent

Open Nicolas-Pinon opened this issue 3 years ago • 0 comments
trafficstars

Hi,

I think there is an issue in this line of code :

https://github.com/cvxgrp/cvxpylayers/blob/1238d2281ab3ec6751a0ac7d4c65a96b72651b33/cvxpylayers/tensorflow/cvxpylayer.py#L188

Where the printed Exception prints 2 times the same variable p_signature.shape instead of once + p_shape

Thanks for the amazing python module !

Nicolas-Pinon avatar Nov 26 '21 16:11 Nicolas-Pinon