View source on GitHub |
Returns true if its input is a nested structure.
tf.nest.is_nested(
seq
)
Refer to tf.nest for the definition of a nested structure.
Args | |
---|---|
seq
|
the value to test. |
Returns | |
---|---|
True if the input is a nested structure. |