GraphDef.Builder

classe final estática pública GraphDef.Builder

 Represents the graph of operations
 
Tipo de protobuf tensorflow.GraphDef

Métodos Públicos

GraphDef.Builder
addAllNode (Iterable<? estende NodeDef > valores)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (valor NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (índice int, valor NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode ( NodeDef.Builder construtorForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (índice int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder ()
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder (índice interno)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
GráficoDef
GráficoDef
GraphDef.Builder
claro ()
GraphDef.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
GraphDef.Builder
limparLibrary ()
 EXPERIMENTAL.
GraphDef.Builder
limparNode ()
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof)
GraphDef.Builder
clearVersion ()
 Deprecated single version field; use versions above instead.
GraphDef.Builder
limparVersões ()
 Compatibility versions of the graph.
GraphDef.Builder
clonar ()
GráficoDef
final estático com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
FunçãoDefLibrary
obter Biblioteca ()
 EXPERIMENTAL.
FunctionDefLibrary.Builder
getLibraryBuilder ()
 EXPERIMENTAL.
FunctionDefLibraryOrBuilder
getLibraryOrBuilder ()
 EXPERIMENTAL.
NodeDef
getNode (índice interno)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
getNodeBuilder (índice interno)
repeated .tensorflow.NodeDef node = 1;
Lista< NodeDef.Builder >
getNodeBuilderList ()
repeated .tensorflow.NodeDef node = 1;
interno
getNodeCount ()
repeated .tensorflow.NodeDef node = 1;
Lista <NodeDef>
getNodeList ()
repeated .tensorflow.NodeDef node = 1;
NodeDefOrBuilder
getNodeOrBuilder (índice interno)
repeated .tensorflow.NodeDef node = 1;
Lista<? estende NodeDefOrBuilder >
getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
interno
getVersão ()
 Deprecated single version field; use versions above instead.
VersãoDef
getVersões ()
 Compatibility versions of the graph.
VersãoDef.Builder
getVersionsBuilder ()
 Compatibility versions of the graph.
VersãoDefOrBuilder
getVersionsOrBuilder ()
 Compatibility versions of the graph.
booleano
tem Biblioteca ()
 EXPERIMENTAL.
booleano
hasVersões ()
 Compatibility versions of the graph.
booleano final
GraphDef.Builder
mergeFrom (com.google.protobuf.Message outro)
GraphDef.Builder
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GraphDef.Builder
mergeLibrary (valor FunctionDefLibrary )
 EXPERIMENTAL.
final GraphDef.Builder
mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
GraphDef.Builder
mergeVersions (valor VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
removeNode (índice interno)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
GraphDef.Builder
setLibrary ( FunctionDefLibrary.Builder construtorForValue)
 EXPERIMENTAL.
GraphDef.Builder
setLibrary (valor FunctionDefLibrary )
 EXPERIMENTAL.
GraphDef.Builder
setNode (índice int, valor NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setNode (índice int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
final GraphDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
GraphDef.Builder
setVersion (valor interno)
 Deprecated single version field; use versions above instead.
GraphDef.Builder
setVersions (valor VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
setVersions ( VersionDef.Builder construtorForValue)
 Compatibility versions of the graph.

Métodos herdados

Métodos Públicos

public GraphDef.Builder addAllNode (Iterable<? estende NodeDef > valores)

repeated .tensorflow.NodeDef node = 1;

público GraphDef.Builder addNode (valor NodeDef )

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode (índice int, valor NodeDef )

repeated .tensorflow.NodeDef node = 1;

público GraphDef.Builder addNode ( NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

público GraphDef.Builder addNode (índice int, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

público NodeDef.Builder addNodeBuilder ()

repeated .tensorflow.NodeDef node = 1;

público NodeDef.Builder addNodeBuilder (índice int)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

construção pública do GraphDef ()

construção pública GraphDefPartial ()

público GraphDef.Builder claro ()

público GraphDef.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

público GraphDef.Builder clearLibrary ()

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

público GraphDef.Builder clearNode ()

repeated .tensorflow.NodeDef node = 1;

público GraphDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

público GraphDef.Builder clearVersion ()

 Deprecated single version field; use versions above instead.  Since all
 GraphDef changes before "versions" was introduced were forward
 compatible, this field is entirely ignored.
 
int32 version = 3 [deprecated = true];

público GraphDef.Builder clearVersions ()

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

clone público do GraphDef.Builder ()

público GraphDef getDefaultInstanceForType ()

final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

Função públicaDefLibrary getLibrary ()

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

função públicaDefLibrary.BuildergetLibraryBuilder ( )

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

função públicaDefLibraryOrBuildergetLibraryOrBuilder ( )

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

público NodeDef getNode (índice interno)

repeated .tensorflow.NodeDef node = 1;

público NodeDef.Builder getNodeBuilder (índice int)

repeated .tensorflow.NodeDef node = 1;

Lista pública< NodeDef.Builder > getNodeBuilderList ()

repeated .tensorflow.NodeDef node = 1;

público int getNodeCount ()

repeated .tensorflow.NodeDef node = 1;

lista pública< NodeDef > getNodeList ()

repeated .tensorflow.NodeDef node = 1;

público NodeDefOrBuilder getNodeOrBuilder (índice int)

repeated .tensorflow.NodeDef node = 1;

Lista pública<? estende NodeDefOrBuilder > getNodeOrBuilderList ()

repeated .tensorflow.NodeDef node = 1;

public int getVersão ()

 Deprecated single version field; use versions above instead.  Since all
 GraphDef changes before "versions" was introduced were forward
 compatible, this field is entirely ignored.
 
int32 version = 3 [deprecated = true];

versão públicaDef getVersions ()

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

public VersionDef.Builder getVersionsBuilder ()

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

public VersionDefOrBuilder getVersionsOrBuilder ()

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

hasLibrary booleano público ()

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

hasVersions booleano público ()

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

público final booleano isInitialized ()

público GraphDef.Builder mergeFrom (com.google.protobuf.Message outro)

public GraphDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public GraphDef.Builder mergeLibrary (valor FunctionDefLibrary )

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

público final GraphDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)

público GraphDef.Builder mergeVersions (valor VersionDef )

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

público GraphDef.Builder removeNode (índice int)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public GraphDef.Builder setLibrary ( FunctionDefLibrary.Builder builderForValue)

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

public GraphDef.Builder setLibrary (valor FunctionDefLibrary )

 EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
 "library" provides user-defined functions.
 Naming:
   * library.function.name are in a flat namespace.
     NOTE: We may need to change it to be hierarchical to support
     different orgs. E.g.,
     { "/google/nn", { ... } },
     { "/google/vision", { ... } }
     { "/org_foo/module_bar", { ... } }
     map<string, FunctionDefLib> named_lib;
   * If node[i].op is the name of one function in "library",
     node[i] is deemed as a function call. Otherwise, node[i].op
     must be a primitive operation supported by the runtime.
 Function call semantics:
   * The callee may start execution as soon as some of its inputs
     are ready. The caller may want to use Tuple() mechanism to
     ensure all inputs are ready in the same time.
   * The consumer of return values may start executing as soon as
     the return values the consumer depends on are ready.  The
     consumer may want to use Tuple() mechanism to ensure the
     consumer does not start until all return values of the callee
     function are ready.
 
.tensorflow.FunctionDefLibrary library = 2;

público GraphDef.Builder setNode (índice int, valor NodeDef )

repeated .tensorflow.NodeDef node = 1;

público GraphDef.Builder setNode (índice int, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)

público final GraphDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)

público GraphDef.Builder setVersion (valor int)

 Deprecated single version field; use versions above instead.  Since all
 GraphDef changes before "versions" was introduced were forward
 compatible, this field is entirely ignored.
 
int32 version = 3 [deprecated = true];

público GraphDef.Builder setVersions (valor VersionDef )

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;

público GraphDef.Builder setVersions ( VersionDef.Builder builderForValue)

 Compatibility versions of the graph.  See core/public/version.h for version
 history.  The GraphDef version is distinct from the TensorFlow version, and
 each release of TensorFlow will support a range of GraphDef versions.
 
.tensorflow.VersionDef versions = 4;