tf.assert_rank
tf.assert_rank
tf.assert_rank
assert_rank( x, rank, data=None, summarize=None, message=None, name=None )
Defined in tensorflow/python/ops/check_ops.py
.
See the guide: Asserts and boolean checks
Assert x
has rank equal to rank
.
Example of adding a dependency to an operation:
登录查看完整内容