| View source on GitHub | 
Static assert that values is a "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 | |
|---|---|
| TypeError | If valuesis not iterable or is one ofTensor,SparseTensor,np.array,tf.compat.bytes_or_text_types. | 
    © 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
    https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/debugging/assert_proper_iterable