Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.contrib.framework.nest.is_sequence

View source on GitHub

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

seq an input sequence.

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