I need to convert 1d tensor of shape (1,) into scalar 1 or () in tensorflow to use in tf.cond.
But the problem is in tf.cond(number
tf.cond(number