An op which linearizes one Tensor value to an opaque variant tensor.
tf.raw_ops.Prelinearize(
input, shape=[], layout=[], name=None
)
Args |
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).
|
Returns |
A Tensor of type variant .
|