Watch talks from the 2019 TensorFlow Dev Summit Watch now

tf.debugging.assert_proper_iterable

Aliases:

  • tf.assert_proper_iterable
  • tf.debugging.assert_proper_iterable
tf.debugging.assert_proper_iterable(values)

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

Static assert that values is a "proper" iterable.

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: