DirectedInterleaveDataset

public final class DirectedInterleaveDataset

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

Nested Classes

class DirectedInterleaveDataset.Options Optional attributes for DirectedInterleaveDataset  

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, Options... options)
Factory method to create a class wrapping a new DirectedInterleaveDataset operation.
Output<?>
handle()
static DirectedInterleaveDataset.Options
stopOnEmptyDataset(Boolean stopOnEmptyDataset)

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, Options... options)

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`.
options carries optional attributes values
Returns
  • a new instance of DirectedInterleaveDataset

public Output<?> handle ()

public static DirectedInterleaveDataset.Options stopOnEmptyDataset (Boolean stopOnEmptyDataset)