tf.nest.pack_sequence_as

Returns a given flattened sequence packed into a given structure.

Used in the notebooks

Used in the tutorials