GraphDef.Builder

clase final estática pública GraphDef.Builder

 Represents the graph of operations
 
Protobuf tipo tensorflow.GraphDef

Métodos públicos

GraphDef.Builder
addAllNode (Iterable<? extiende los valores de NodeDef >)
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 constructorForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (índice int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Constructor
agregarNodeBuilder ()
repeated .tensorflow.NodeDef node = 1;
NodeDef.Constructor
addNodeBuilder (índice int)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
GraphDef
GraphDef
GraphDef.Builder
claro ()
GraphDef.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
GraphDef.Builder
borrarBiblioteca ()
 EXPERIMENTAL.
GraphDef.Builder
borrarNodo ()
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de)
GraphDef.Builder
versión clara ()
 Deprecated single version field; use versions above instead.
GraphDef.Builder
versiones claras ()
 Compatibility versions of the graph.
GraphDef.Builder
clonar ()
GraphDef
com.google.protobuf.Descriptors.Descriptor estático final
com.google.protobuf.Descriptors.Descriptor
FunciónDefBiblioteca
obtenerBiblioteca ()
 EXPERIMENTAL.
FunciónDefLibrary.Builder
getLibraryBuilder ()
 EXPERIMENTAL.
FunciónDefLibraryOrBuilder
getLibraryOrBuilder ()
 EXPERIMENTAL.
NodoDef
getNode (índice int)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Constructor
getNodeBuilder (índice int)
repeated .tensorflow.NodeDef node = 1;
Lista< NodeDef.Builder >
getNodeBuilderList ()
repeated .tensorflow.NodeDef node = 1;
En t
getNodeCount ()
repeated .tensorflow.NodeDef node = 1;
Lista <NodeDef>
obtener lista de nodos ()
repeated .tensorflow.NodeDef node = 1;
NodoDefOrBuilder
getNodeOrBuilder (índice int)
repeated .tensorflow.NodeDef node = 1;
Lista<? extiende NodeDefOrBuilder >
getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
En t
obtener versión ()
 Deprecated single version field; use versions above instead.
VersiónDef
obtener versiones ()
 Compatibility versions of the graph.
VersiónDef.Builder
getVersionsBuilder ()
 Compatibility versions of the graph.
VersiónDefOrBuilder
getVersionsOrBuilder ()
 Compatibility versions of the graph.
booleano
tieneBiblioteca ()
 EXPERIMENTAL.
booleano
tiene versiones ()
 Compatibility versions of the graph.
booleano final
GraphDef.Builder
mergeFrom (com.google.protobuf.Message otro)
GraphDef.Builder
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
GraphDef.Builder
mergeLibrary (valor FunctionDefLibrary )
 EXPERIMENTAL.
GraphDef.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
GraphDef.Builder
mergeVersions (valor VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
eliminarNodo (índice int)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
GraphDef.Builder
setLibrary ( FunctionDefLibrary.Builder builderForValue)
 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 del objeto)
GraphDef.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
GraphDef.Builder
setVersion (valor int)
 Deprecated single version field; use versions above instead.
GraphDef.Builder
setVersions (valor VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
setVersions ( VersionDef.Builder builderForValue)
 Compatibility versions of the graph.

Métodos heredados

Métodos públicos

public GraphDef.Builder addAllNode (Iterable<? extiende los valores de NodeDef >)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode (valor NodeDef )

repeated .tensorflow.NodeDef node = 1;

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

repeated .tensorflow.NodeDef node = 1;

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

repeated .tensorflow.NodeDef node = 1;

addNode público GraphDef.Builder (í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 del objeto)

compilación pública de GraphDef ()

compilación pública GraphDefPartial ()

público GraphDef.Builder claro ()

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

pública 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];

public 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;

clon público de GraphDef.Builder ()

público GraphDef getDefaultInstanceForType ()

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

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

función 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;

función públicaDefLibrary.Builder getLibraryBuilder ()

 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;

función públicaDefLibraryOrBuilder getLibraryOrBuilder ()

 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 int)

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<? extiende NodeDefOrBuilder > getNodeOrBuilderList ()

repeated .tensorflow.NodeDef node = 1;

public int getVersion ()

 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];

VersionDef publica 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;

público 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 booleanos públicos ()

 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 ()

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

mergeFrom público GraphDef.Builder (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)

Lanza
IOExcepción

pública 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;

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

public 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;

público GraphDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del 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 de 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 del objeto)

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

public 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];

public 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;

public 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;