Have a question? Connect with the community at the TensorFlow Forum Visit Forum

GraphDef.Builder

public static final class GraphDef.Builder

 Represents the graph of operations
 
Protobuf type tensorflow.GraphDef

Public Methods

GraphDef.Builder
addAllNode (Iterable<? extends NodeDef > values)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode ( NodeDef value)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (int index, NodeDef value)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode ( NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (int index, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder ()
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder (int index)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GraphDef
GraphDef
GraphDef.Builder
GraphDef.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
GraphDef.Builder
clearLibrary ()
 EXPERIMENTAL.
GraphDef.Builder
clearNode ()
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
GraphDef.Builder
clearVersion ()
 Deprecated single version field; use versions above instead.
GraphDef.Builder
clearVersions ()
 Compatibility versions of the graph.
GraphDef.Builder
GraphDef
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
FunctionDefLibrary
getLibrary ()
 EXPERIMENTAL.
FunctionDefLibrary.Builder
getLibraryBuilder ()
 EXPERIMENTAL.
FunctionDefLibraryOrBuilder
getLibraryOrBuilder ()
 EXPERIMENTAL.
NodeDef
getNode (int index)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
getNodeBuilder (int index)
repeated .tensorflow.NodeDef node = 1;
List< NodeDef.Builder >
getNodeBuilderList ()
repeated .tensorflow.NodeDef node = 1;
int
getNodeCount ()
repeated .tensorflow.NodeDef node = 1;
List< NodeDef >
getNodeList ()
repeated .tensorflow.NodeDef node = 1;
NodeDefOrBuilder
getNodeOrBuilder (int index)
repeated .tensorflow.NodeDef node = 1;
List<? extends NodeDefOrBuilder >
getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
int
getVersion ()
 Deprecated single version field; use versions above instead.
VersionDef
getVersions ()
 Compatibility versions of the graph.
VersionDef.Builder
getVersionsBuilder ()
 Compatibility versions of the graph.
VersionDefOrBuilder
getVersionsOrBuilder ()
 Compatibility versions of the graph.
boolean
hasLibrary ()
 EXPERIMENTAL.
boolean
hasVersions ()
 Compatibility versions of the graph.
final boolean
GraphDef.Builder
mergeFrom (com.google.protobuf.Message other)
GraphDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GraphDef.Builder
final GraphDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
GraphDef.Builder
mergeVersions ( VersionDef value)
 Compatibility versions of the graph.
GraphDef.Builder
removeNode (int index)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GraphDef.Builder
setLibrary ( FunctionDefLibrary.Builder builderForValue)
 EXPERIMENTAL.
GraphDef.Builder
setLibrary ( FunctionDefLibrary value)
 EXPERIMENTAL.
GraphDef.Builder
setNode (int index, NodeDef value)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setNode (int index, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final GraphDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
GraphDef.Builder
setVersion (int value)
 Deprecated single version field; use versions above instead.
GraphDef.Builder
setVersions ( VersionDef value)
 Compatibility versions of the graph.
GraphDef.Builder
setVersions ( VersionDef.Builder builderForValue)
 Compatibility versions of the graph.

Inherited Methods

Public Methods

public GraphDef.Builder addAllNode (Iterable<? extends NodeDef > values)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode ( NodeDef value)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode (int index, NodeDef value)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode ( NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode (int index, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

public NodeDef.Builder addNodeBuilder ()

repeated .tensorflow.NodeDef node = 1;

public NodeDef.Builder addNodeBuilder (int index)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public GraphDef build ()

public GraphDef buildPartial ()