Modifier and Type | Class and Description |
---|---|
static class |
DatasetToGraph.Options
Optional attributes for
DatasetToGraph |
operation
Modifier and Type | Method and Description |
---|---|
Output<String> |
asOutput()
Returns the symbolic handle of a tensor.
|
static DatasetToGraph |
create(Scope scope,
Operand<?> inputDataset,
DatasetToGraph.Options... options)
Factory method to create a class wrapping a new DatasetToGraph operation.
|
Output<String> |
graph()
The graph representation of the dataset (as serialized GraphDef).
|
static DatasetToGraph.Options |
statefulWhitelist(List<String> statefulWhitelist) |
equals, hashCode, op, toString
public static DatasetToGraph create(Scope scope, Operand<?> inputDataset, DatasetToGraph.Options... options)
scope
- current scopeinputDataset
- A variant tensor representing the dataset to return the graph representation for.options
- carries optional attributes valuespublic static DatasetToGraph.Options statefulWhitelist(List<String> statefulWhitelist)
statefulWhitelist
- public Output<String> graph()
public Output<String> 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<String>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.