Modifier and Type | Class and Description |
---|---|
static class |
SnapshotDatasetReader.Inputs |
static class |
SnapshotDatasetReader.Options
Optional attributes for
SnapshotDatasetReader |
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME
The name of this op, as known by TensorFlow core engine
|
Constructor and Description |
---|
SnapshotDatasetReader(Operation operation) |
Modifier and Type | Method and Description |
---|---|
Output<TType> |
asOutput()
Returns the symbolic handle of the tensor.
|
static SnapshotDatasetReader.Options |
compression(String compression)
Sets the compression option.
|
static SnapshotDatasetReader |
create(Scope scope,
Operand<TString> shardDir,
Operand<TInt64> startIndex,
List<Class<? extends TType>> outputTypes,
List<org.tensorflow.ndarray.Shape> outputShapes,
Long version,
SnapshotDatasetReader.Options... options)
Factory method to create a class wrapping a new SnapshotDatasetReader operation.
|
Output<? extends TType> |
handle()
Gets handle.
|
public static final String OP_NAME
public SnapshotDatasetReader(Operation operation)
@Endpoint(describeByClass=true) public static SnapshotDatasetReader create(Scope scope, Operand<TString> shardDir, Operand<TInt64> startIndex, List<Class<? extends TType>> outputTypes, List<org.tensorflow.ndarray.Shape> outputShapes, Long version, SnapshotDatasetReader.Options... options)
scope
- current scopeshardDir
- The shardDir valuestartIndex
- The startIndex valueoutputTypes
- The value of the outputTypes attributeoutputShapes
- The value of the outputShapes attributeversion
- The value of the version attributeoptions
- carries optional attribute valuespublic static SnapshotDatasetReader.Options compression(String compression)
compression
- the compression optionpublic Output<TType> 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<TType>
OperationBuilder.addInput(Output)
Copyright © 2015–2022. All rights reserved.