GraphDef.Builder

classe finale statica pubblica GraphDef.Builder

 Represents the graph of operations
 
Tipo di protocollo tensorflow.GraphDef

Metodi pubblici

GraphDef.Builder
addAllNode (Iterable<? estende i valori NodeDef >)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (valore NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (indice int, valore NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode ( NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (indice int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder ()
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder (indice int)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
GraficoDef
GraficoDef
GraphDef.Builder
chiaro ()
GraphDef.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
GraphDef.Builder
chiaraLibreria ()
 EXPERIMENTAL.
GraphDef.Builder
chiaroNodo ()
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
GraphDef.Builder
clearVersione ()
 Deprecated single version field; use versions above instead.
GraphDef.Builder
clearVersions ()
 Compatibility versions of the graph.
GraphDef.Builder
clone ()
GraficoDef
com.google.protobuf.Descriptors.Descriptor statico finale
com.google.protobuf.Descriptors.Descriptor
Libreria FunctionDef
getLibreria ()
 EXPERIMENTAL.
FunctionDefLibrary.Builder
getLibraryBuilder ()
 EXPERIMENTAL.
FunctionDefLibraryOrBuilder
getLibraryOrBuilder ()
 EXPERIMENTAL.
NodoDef
getNode (indice int)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
getNodeBuilder (indice int)
repeated .tensorflow.NodeDef node = 1;
Elenco< NodeDef.Builder >
getNodeBuilderList ()
repeated .tensorflow.NodeDef node = 1;
int
getNodeCount ()
repeated .tensorflow.NodeDef node = 1;
Elenco< NodeDef >
getNodeList ()
repeated .tensorflow.NodeDef node = 1;
NodeDefOrBuilder
getNodeOrBuilder (indice int)
repeated .tensorflow.NodeDef node = 1;
Elenco<? estende NodeDefOrBuilder >
getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
int
getVersione ()
 Deprecated single version field; use versions above instead.
VersioneDef
getVersions ()
 Compatibility versions of the graph.
VersionDef.Builder
getVersionsBuilder ()
 Compatibility versions of the graph.
VersioneDefOrBuilder
getVersionsOrBuilder ()
 Compatibility versions of the graph.
booleano
haLibreria ()
 EXPERIMENTAL.
booleano
haVersioni ()
 Compatibility versions of the graph.
booleano finale
GraphDef.Builder
mergeFrom (com.google.protobuf.Message altro)
GraphDef.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
GraphDef.Builder
mergeLibrary (valore FunctionDefLibrary )
 EXPERIMENTAL.
finale GraphDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
GraphDef.Builder
mergeVersions (valore VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
rimuoviNode (indice int)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
GraphDef.Builder
GraphDef.Builder
setLibrary (valore FunctionDefLibrary )
 EXPERIMENTAL.
GraphDef.Builder
setNode (indice int, valore NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setNode (indice int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
finale GraphDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
GraphDef.Builder
setVersion (valore int)
 Deprecated single version field; use versions above instead.
GraphDef.Builder
setVersions (valore VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
setVersions ( VersionDef.Builder builderForValue)
 Compatibility versions of the graph.

Metodi ereditati

Metodi pubblici

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

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode (valore NodeDef )

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode (indice int, valore NodeDef )

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode ( NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

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

repeated .tensorflow.NodeDef node = 1;

public NodeDef.Builder addNodeBuilder ()

repeated .tensorflow.NodeDef node = 1;

public NodeDef.Builder addNodeBuilder (indice int)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

build pubblica di GraphDef ()

public GraphDef buildPartial ()

pubblico GraphDef.Builder chiaro ()

public GraphDef.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

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

public GraphDef.Builder clearNode ()

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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

clone pubblico di GraphDef.Builder ()

pubblico GraphDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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

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

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

public NodeDef getNode (indice int)

repeated .tensorflow.NodeDef node = 1;

public NodeDef.Builder getNodeBuilder (indice int)

repeated .tensorflow.NodeDef node = 1;

Elenco pubblico< NodeDef.Builder > getNodeBuilderList ()

repeated .tensorflow.NodeDef node = 1;

pubblico int getNodeCount ()

repeated .tensorflow.NodeDef node = 1;

Elenco pubblico< NodeDef > getNodeList ()

repeated .tensorflow.NodeDef node = 1;

public NodeDefOrBuilder getNodeOrBuilder (indice int)

repeated .tensorflow.NodeDef node = 1;

Elenco pubblico<? estende 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];

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

versione pubblicaDefOrBuilder 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;

public booleano hasLibrary ()

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

 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 final booleano isInitialized ()

public GraphDef.Builder mergeFrom (com.google.protobuf.Message altro)

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

Lancia
IOException

public GraphDef.Builder mergeLibrary (valore 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;

public final GraphDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

public GraphDef.Builder mergeVersions (valore 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 rimuoviNode (indice int)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

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 (valore 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;

public GraphDef.Builder setNode (indice int, valore NodeDef )

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder setNode (indice int, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)

pubblico finale GraphDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

public GraphDef.Builder setVersion (valore 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 (valore 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;