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


An op which linearizes one Tensor value to an opaque variant tensor.

input A Tensor. A tensor that will be linearized.
shape An optional tf.TensorShape or list of ints. Defaults to []. The shape of the tensor.
layout An optional list of ints. Defaults to []. A vector holding the requested layout in minor-to-major sequence. If a layout attribute is passed but its values are all -1 the layout will be computed by the infeed operation.
name A name for the operation (optional).

A Tensor of type variant.