ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

ShuffleAndRepeatDatasetV2

public final class ShuffleAndRepeatDatasetV2

Nested Classes

class ShuffleAndRepeatDatasetV2.Options Optional attributes for ShuffleAndRepeatDatasetV2  

Public Methods

Output<Object>
asOutput()
Returns the symbolic handle of a tensor.
static ShuffleAndRepeatDatasetV2
create(Scope scope, Operand<?> inputDataset, Operand<Long> bufferSize, Operand<Long> seed, Operand<Long> seed2, Operand<Long> count, Operand<?> seedGenerator, List<Class<?>> outputTypes, List<Shape> outputShapes, Options... options)
Factory method to create a class wrapping a new ShuffleAndRepeatDatasetV2 operation.
Output<?>
handle()
static ShuffleAndRepeatDatasetV2.Options
reshuffleEachIteration(Boolean reshuffleEachIteration)

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 ShuffleAndRepeatDatasetV2 create (Scope scope, Operand<?> inputDataset, Operand<Long> bufferSize, Operand<Long> seed, Operand<Long> seed2, Operand<Long> count, Operand<?> seedGenerator, List<Class<?>> outputTypes, List<Shape> outputShapes, Options... options)

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

Parameters
scope current scope
options carries optional attributes values
Returns
  • a new instance of ShuffleAndRepeatDatasetV2

public Output<?> handle ()

public static ShuffleAndRepeatDatasetV2.Options reshuffleEachIteration (Boolean reshuffleEachIteration)