DirectedInterleaveDataset

public final class DirectedInterleaveDataset

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

Public Methods

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

Inherited Methods

Public Methods

public Output<Object> asOutput ()

Returns the symbolic handle of a 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<?>> 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 ()