DatasetToGraph

Stay organized with collections Save and categorize content based on your preferences.
public final class DatasetToGraph

Returns a serialized GraphDef representing `input_dataset`.

Returns a graph representation for `input_dataset`.

Nested Classes

class DatasetToGraph.Options Optional attributes for DatasetToGraph  

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output<TString>
asOutput()
Returns the symbolic handle of the tensor.
static DatasetToGraph
create(Scope scope, Operand<?> inputDataset, Options... options)
Factory method to create a class wrapping a new DatasetToGraph operation.
static DatasetToGraph.Options
externalStatePolicy(Long externalStatePolicy)
Output<TString>
graph()
The graph representation of the dataset (as serialized GraphDef).
static DatasetToGraph.Options
stripDeviceAssignment(Boolean stripDeviceAssignment)

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "DatasetToGraphV2"

Public Methods

public Output<TString> asOutput ()

Returns the symbolic handle of the 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 DatasetToGraph create (Scope scope, Operand<?> inputDataset, Options... options)

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

Parameters
scope current scope
inputDataset A variant tensor representing the dataset to return the graph representation for.
options carries optional attributes values
Returns
  • a new instance of DatasetToGraph

public static DatasetToGraph.Options externalStatePolicy (Long externalStatePolicy)

public Output<TString> graph ()

The graph representation of the dataset (as serialized GraphDef).

public static DatasetToGraph.Options stripDeviceAssignment (Boolean stripDeviceAssignment)