I find the code below in tf_ops.py " if len(values.shape) != 2: raise ValueError("'values' should be a 2d-tensor " "but got %r." % values.shape) assert tf.executing_eagerly() " so the soft_rank could not run in eager mode in tf2.0? why?
I find the code below in tf_ops.py
" if len(values.shape) != 2:
raise ValueError("'values' should be a 2d-tensor "
"but got %r." % values.shape)
assert tf.executing_eagerly()
"
so the soft_rank could not run in eager mode in tf2.0?
why?