DirectedInterleaveDataset

public final class DirectedInterleaveDataset

A substitute for `InterleaveDataset` on a fixed list of `N` datasets.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output<TType>
asOutput()
Returns the symbolic handle of the tensor.
static DirectedInterleaveDataset
create(Scope scope, Operand<?> selectorInputDataset, Iterable<Operand<?>> dataInputDatasets, List<Class<? extends TType>> outputTypes, List<Shape> outputShapes)
Factory method to create a class wrapping a new DirectedInterleaveDataset operation.
Output<?>
handle()

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "DirectedInterleaveDataset"

Public Methods

public Output<TType> asOutput ()

Returns the symbolic handle of the tensor.

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.

public static DirectedInterleaveDataset create (Scope scope, Operand<?> selectorInputDataset, Iterable<Operand<?>> dataInputDatasets, List<Class<? extends TType>> outputTypes, List<Shape> outputShapes)

Factory method to create a class wrapping a new DirectedInterleaveDataset operation.

Parameters
scope current scope
selectorInputDataset A dataset of scalar `DT_INT64` elements that determines which of the `N` data inputs should produce the next output element.
dataInputDatasets `N` datasets with the same type that will be interleaved according to the values of `selector_input_dataset`.
Returns
  • a new instance of DirectedInterleaveDataset

public Output<?> handle ()