tf.nest.is_nested

Returns true if its input is a collections.abc.Sequence (except strings).

Main aliases

`tf.contrib.framework.nest.is_nested`

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.nest.is_nested, `tf.compat.v2.nest.is_nested`

seq an input sequence.

True if the sequence is a not a string and is a collections.abc.Sequence or a dict.