GraphDef.Builder

kelas akhir statis publik GraphDef.Builder

 Represents the graph of operations
 
Tipe protobuf tensorflow.GraphDef

Metode Publik

GraphDef.Builder
addAllNode (Nilai Iterable<? extends NodeDef >)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (nilai NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (indeks int, nilai NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode ( NodeDef.Pembuat pembangunForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (indeks int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
tambahkanNodeBuilder ()
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder (indeks int)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
GrafikDef
GrafikDef
GraphDef.Builder
jernih ()
GraphDef.Builder
clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor)
GraphDef.Builder
perpustakaan yang jelas ()
 EXPERIMENTAL.
GraphDef.Builder
hapusNode ()
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor salah satu)
GraphDef.Builder
versi jelas ()
 Deprecated single version field; use versions above instead.
GraphDef.Builder
versi yang jelas ()
 Compatibility versions of the graph.
GraphDef.Builder
klon ()
GrafikDef
com.google.protobuf.Descriptors.Descriptor statis terakhir
com.google.protobuf.Descriptors.Descriptor
FunctionDefLibrary
dapatkan Perpustakaan ()
 EXPERIMENTAL.
FunctionDefLibrary.Builder
dapatkan LibraryBuilder ()
 EXPERIMENTAL.
FunctionDefLibraryOrBuilder
dapatkan LibraryOrBuilder ()
 EXPERIMENTAL.
NodeDef
getNode (indeks int)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
getNodeBuilder (indeks int)
repeated .tensorflow.NodeDef node = 1;
Daftar< NodeDef.Builder >
dapatkanNodeBuilderList ()
repeated .tensorflow.NodeDef node = 1;
ke dalam
dapatkanNodeCount ()
repeated .tensorflow.NodeDef node = 1;
Daftar< NodeDef >
dapatkanNodeList ()
repeated .tensorflow.NodeDef node = 1;
NodeDefOrBuilder
getNodeOrBuilder (indeks int)
repeated .tensorflow.NodeDef node = 1;
Daftar<? memperluas NodeDefOrBuilder >
getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
ke dalam
dapatkanVersi ()
 Deprecated single version field; use versions above instead.
VersiDef
dapatkan Versi ()
 Compatibility versions of the graph.
VersionDef.Builder
dapatkanVersionsBuilder ()
 Compatibility versions of the graph.
VersionDefOrBuilder
dapatkanVersionsOrBuilder ()
 Compatibility versions of the graph.
boolean
memiliki Perpustakaan ()
 EXPERIMENTAL.
boolean
memilikiVersi ()
 Compatibility versions of the graph.
boolean terakhir
GraphDef.Builder
mergeFrom (com.google.protobuf.Pesan lainnya)
GraphDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GraphDef.Builder
mergeLibrary (nilai FunctionDefLibrary )
 EXPERIMENTAL.
GraphDef.Builder terakhir
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
GraphDef.Builder
mergeVersions (nilai VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
hapusNode (indeks int)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
GraphDef.Builder
setLibrary ( FunctionDefLibrary.Pembuat pembangunForValue)
 EXPERIMENTAL.
GraphDef.Builder
setLibrary (nilai FunctionDefLibrary )
 EXPERIMENTAL.
GraphDef.Builder
setNode (indeks int, nilai NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setNode (indeks int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
GraphDef.Builder terakhir
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
GraphDef.Builder
setVersion (nilai int)
 Deprecated single version field; use versions above instead.
GraphDef.Builder
setVersions (nilai VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
setVersions ( VersionDef.Builder pembangunForValue)
 Compatibility versions of the graph.

Metode Warisan

Metode Publik

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

repeated .tensorflow.NodeDef node = 1;

publik GraphDef.Builder addNode (nilai NodeDef )

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode (indeks int, nilai NodeDef )

repeated .tensorflow.NodeDef node = 1;

publik GraphDef.Builder addNode ( NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

publik GraphDef.Builder addNode (int indeks, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

NodeDef.Builder publik addNodeBuilder ()

repeated .tensorflow.NodeDef node = 1;

NodeDef.Builder publik addNodeBuilder (indeks int)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

build GraphDef publik ()

publik GraphDef buildPartial ()

publik GraphDef.Builder jelas ()

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

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

publik GraphDef.Builder clearNode ()

repeated .tensorflow.NodeDef node = 1;

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

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

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

klon publik GraphDef.Builder ()

publik GraphDef getDefaultInstanceForType ()

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

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

Fungsi publikDefLibrary 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;

Fungsi publikDefLibrary.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;

Fungsi publikDefLibraryOrBuilder 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;

getNode NodeDef publik (indeks int)

repeated .tensorflow.NodeDef node = 1;

NodeDef.Builder publik getNodeBuilder (indeks int)

repeated .tensorflow.NodeDef node = 1;

Daftar publik< NodeDef.Builder > getNodeBuilderList ()

repeated .tensorflow.NodeDef node = 1;

publik int getNodeCount ()

repeated .tensorflow.NodeDef node = 1;

Daftar publik< NodeDef > getNodeList ()

repeated .tensorflow.NodeDef node = 1;

NodeDefOrBuilder publik getNodeOrBuilder (indeks int)

repeated .tensorflow.NodeDef node = 1;

Daftar Publik<? memperluas NodeDefOrBuilder > getNodeOrBuilderList ()

repeated .tensorflow.NodeDef node = 1;

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

VersionDef.Builder publik 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;

VersionDefOrBuilder publik 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;

boolean publik 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;

boolean publik hasVersions ()

 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;

boolean akhir publik diinisialisasi ()

publik GraphDef.Builder mergeFrom (com.google.protobuf.Message lainnya)

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

Melempar
Pengecualian IO

publik GraphDef.Builder mergeLibrary (nilai 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 akhir publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

GraphDef.Builder mergeVersions publik (nilai 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;

publik GraphDef.Builder deleteNode (int indeks)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

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

publik GraphDef.Builder setLibrary (nilai 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 (indeks int, nilai NodeDef )

repeated .tensorflow.NodeDef node = 1;

publik GraphDef.Builder setNode (int indeks, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)

set GraphDef.Builder akhir publikUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

publik GraphDef.Builder setVersion (nilai 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];

setVersions GraphDef.Builder publik (nilai 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;

setVersi GraphDef.Builder publik ( 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;