tf.raw_ops.InfeedEnqueueTuple  |  TensorFlow v2.16.1 (original) (raw)

tf.raw_ops.InfeedEnqueueTuple

Stay organized with collections Save and categorize content based on your preferences.

Feeds multiple Tensor values into the computation as an XLA tuple.

View aliases

Compat aliases for migration

SeeMigration guide for more details.

tf.compat.v1.raw_ops.InfeedEnqueueTuple

tf.raw_ops.InfeedEnqueueTuple(
    inputs, shapes, layouts=[], device_ordinal=-1, name=None
)
Args
inputs A list of Tensor objects. A list of tensors that will be provided using the infeed mechanism.
shapes A list of shapes (each a tf.TensorShape or list of ints). The shapes of each tensor in inputs.
layouts An optional list of ints. Defaults to []. A vector holding the requested layout in minor-to-major sequence for all the tuple shapes, in the order the shapes appear in the "shapes" input. The layout elements for a sub-shape can be set to -1, in which case the corresponding layout will be computed by the infeed operation.
device_ordinal An optional int. Defaults to -1. The TPU device to use. This should be -1 when the Op is running on a TPU device, and >= 0 when the Op is running on the CPU device.
name A name for the operation (optional).
Returns
The created Operation.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2024-04-26 UTC.