tf.assert_scalar

Aliases:

  • tf.assert_scalar
  • tf.contrib.framework.assert_scalar
tf.assert_scalar(
    tensor,
    name=None
)

Defined in tensorflow/python/ops/check_ops.py.