TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.debugging.assert_proper_iterable

TensorFlow 1 version View source on GitHub

Static assert that values is a "proper" iterable.

Aliases:

  • tf.compat.v1.assert_proper_iterable
  • tf.compat.v1.debugging.assert_proper_iterable
  • tf.compat.v2.debugging.assert_proper_iterable
tf.debugging.assert_proper_iterable(values)

Ops that expect iterables of Tensor can call this to validate input. Useful since Tensor, ndarray, byte/text type are all iterables themselves.

Args:

  • values: Object to be checked.

Raises: