W3cubDocs

/TensorFlow 2.3

tf.raw_ops.Prelinearize

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

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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/raw_ops/Prelinearize