W3cubDocs

/TensorFlow Python

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.

See the guide: Framework (contrib)

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/assert_scalar