| Modifier and Type | Class and Description |
|---|---|
static class |
ShardDataset.Options
Optional attributes for
ShardDataset |
operation| Modifier and Type | Method and Description |
|---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static ShardDataset |
create(Scope scope,
Operand<?> inputDataset,
Operand<Long> numShards,
Operand<Long> index,
List<Class<?>> outputTypes,
List<Shape> outputShapes,
ShardDataset.Options... options)
Factory method to create a class wrapping a new ShardDataset operation.
|
Output<?> |
handle() |
static ShardDataset.Options |
requireNonEmpty(Boolean requireNonEmpty) |
equals, hashCode, op, toStringpublic static ShardDataset create(Scope scope, Operand<?> inputDataset, Operand<Long> numShards, Operand<Long> index, List<Class<?>> outputTypes, List<Shape> outputShapes, ShardDataset.Options... options)
scope - current scopeinputDataset - numShards - An integer representing the number of shards operating in parallel.index - An integer representing the current worker index.outputTypes - outputShapes - options - carries optional attributes valuespublic static ShardDataset.Options requireNonEmpty(Boolean requireNonEmpty)
requireNonEmpty - public Output<?> handle()
public Output<Object> asOutput()
OperandInputs 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 © 2015–2019. All rights reserved.