please help me to resolve this problem
thanks
Cost should be a scalar. Shape of the returned tensor should be ()
.
eg:
<tf.Tensor: shape=(), dtype=float32, numpy=2.0>
Return value is supposed to be a scalar. This is the checklist for common errors on this function.
Thank you very much got solution