operation
Modifier and Type | Method and Description |
---|---|
Output<Long> |
asOutput()
Returns the symbolic handle of a tensor.
|
static MultiDeviceIteratorInit |
create(Scope scope,
Operand<?> dataset,
Operand<?> multiDeviceIterator,
Operand<Long> maxBufferSize)
Factory method to create a class wrapping a new MultiDeviceIteratorInit operation.
|
Output<Long> |
incarnationId()
An int64 indicating which incarnation of the MultiDeviceIterator
is running.
|
equals, hashCode, op, toString
public static MultiDeviceIteratorInit create(Scope scope, Operand<?> dataset, Operand<?> multiDeviceIterator, Operand<Long> maxBufferSize)
scope
- current scopedataset
- Dataset to be iterated upon.multiDeviceIterator
- A MultiDeviceIteratorResource.maxBufferSize
- The maximum size of the host side per device buffer to keep.public Output<Long> incarnationId()
public Output<Long> asOutput()
Operand
Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput
in interface Operand<Long>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.