Modifier and Type | Class and Description |
---|---|
static class |
ExperimentalRebatchDataset.Options
Optional attributes for
ExperimentalRebatchDataset |
operation
Modifier and Type | Method and Description |
---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static ExperimentalRebatchDataset |
create(Scope scope,
Operand<?> inputDataset,
Operand<Long> numReplicas,
List<Class<?>> outputTypes,
List<Shape> outputShapes,
ExperimentalRebatchDataset.Options... options)
Factory method to create a class wrapping a new ExperimentalRebatchDataset operation.
|
Output<?> |
handle() |
static ExperimentalRebatchDataset.Options |
useFallback(Boolean useFallback) |
equals, hashCode, op, toString
public static ExperimentalRebatchDataset create(Scope scope, Operand<?> inputDataset, Operand<Long> numReplicas, List<Class<?>> outputTypes, List<Shape> outputShapes, ExperimentalRebatchDataset.Options... options)
scope
- current scopeinputDataset
- A variant tensor representing the input dataset.numReplicas
- A scalar representing the number of replicas to distribute this batch across. As
a result of this transformation the current batch size would end up being
divided by this parameter.outputTypes
- outputShapes
- options
- carries optional attributes valuespublic static ExperimentalRebatchDataset.Options useFallback(Boolean useFallback)
useFallback
- public Output<?> handle()
public Output<Object> 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<Object>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.