GraphDef.Builder

lớp cuối cùng tĩnh công khai GraphDef.Builder

 Represents the graph of operations
 
Loại tensorflow.GraphDef của Protobuf.GraphDef

Phương pháp công cộng

GraphDef.Builder
addAllNode (Có thể lặp lại<? mở rộng các giá trị NodeDef >)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (giá trị NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (chỉ mục int, giá trị NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode ( NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addNode (chỉ mục int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder ()
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
addNodeBuilder (chỉ mục int)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
GraphDef
GraphDef
GraphDef.Builder
GraphDef.Builder
ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
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
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
com.google.protobuf.Descriptors.Descriptor
Chức năngDefLibrary
getLibrary ()
 EXPERIMENTAL.
FunctionDefLibrary.Builder
getLibraryBuilder ()
 EXPERIMENTAL.
FunctionDefLibraryOrBuilder
getLibraryOrBuilder ()
 EXPERIMENTAL.
NodeDef
getNode (chỉ mục int)
repeated .tensorflow.NodeDef node = 1;
NodeDef.Builder
getNodeBuilder (chỉ mục int)
repeated .tensorflow.NodeDef node = 1;
Danh sách< NodeDef.Builder >
getNodeBuilderList ()
repeated .tensorflow.NodeDef node = 1;
int
getNodeCount ()
repeated .tensorflow.NodeDef node = 1;
Danh sách< NodeDef >
getNodeList ()
repeated .tensorflow.NodeDef node = 1;
NodeDefOrBuilder
getNodeOrBuilder (chỉ mục int)
repeated .tensorflow.NodeDef node = 1;
Danh sách<? mở rộng NodeDefOrBuilder >
getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
int
getVersion ()
 Deprecated single version field; use versions above instead.
Phiên bảnDef
getVersions ()
 Compatibility versions of the graph.
Phiên bảnDef.Builder
getVersionsBuilder ()
 Compatibility versions of the graph.
Phiên bảnDefOrBuilder
getVersionsOrBuilder ()
 Compatibility versions of the graph.
boolean
hasLibrary ()
 EXPERIMENTAL.
boolean
hasVersions ()
 Compatibility versions of the graph.
boolean cuối cùng
GraphDef.Builder
mergeFrom (com.google.protobuf.Message other)
GraphDef.Builder
mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
GraphDef.Builder
mergeLibrary (giá trị FunctionDefLibrary )
 EXPERIMENTAL.
GraphDef.Builder cuối cùng
hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
GraphDef.Builder
mergeVersions (giá trị VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
RemoveNode (chỉ số int)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
GraphDef.Builder
setLibrary ( FunctionDefLibrary.Builder builderForValue)
 EXPERIMENTAL.
GraphDef.Builder
setLibrary (giá trị FunctionDefLibrary )
 EXPERIMENTAL.
GraphDef.Builder
setNode (chỉ mục int, giá trị NodeDef )
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setNode (chỉ mục int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
GraphDef.Builder
setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
GraphDef.Builder cuối cùng
setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
GraphDef.Builder
setVersion (giá trị int)
 Deprecated single version field; use versions above instead.
GraphDef.Builder
setVersions (giá trị VersionDef )
 Compatibility versions of the graph.
GraphDef.Builder
setVersions ( VersionDef.Builder builderForValue)
 Compatibility versions of the graph.

Phương pháp kế thừa

Phương pháp công cộng

công khai GraphDef.Builder addAllNode (Các giá trị Iterable<?extend NodeDef >)

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode (giá trị NodeDef )

repeated .tensorflow.NodeDef node = 1;

public GraphDef.Builder addNode (chỉ mục int, giá trị NodeDef )

repeated .tensorflow.NodeDef node = 1;

GraphDef.Builder addNode công khai ( NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

GraphDef.Builder addNode công khai (chỉ mục int, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

NodeDef.Builder công khai addNodeBuilder ()

repeated .tensorflow.NodeDef node = 1;

NodeDef.Builder công khai addNodeBuilder (chỉ mục int)

repeated .tensorflow.NodeDef node = 1;

GraphDef.Builder công khai addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

bản dựng GraphDef công khai ()

buildPartial GraphDef công khai ()

GraphDef.Builder công khai rõ ràng ()

GraphDef.Builder clearField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor)

công khai 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;

GraphDef.Builder clearNode công khai ()

repeated .tensorflow.NodeDef node = 1;

GraphDef.Builder clearOneof công khai (com.google.protobuf.Descriptors.OneofDescriptor oneof)

công khai 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];

GraphDef.Builder clearVersions công khai ()

 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;

bản sao GraphDef.Builder công khai ()

GraphDef công khai getDefaultInstanceForType ()

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

com.google.protobuf.Descriptors.Descriptor công khai 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;

getNode NodeDef công khai (chỉ mục int)

repeated .tensorflow.NodeDef node = 1;

NodeDef.Builder công khai getNodeBuilder (chỉ mục int)

repeated .tensorflow.NodeDef node = 1;

Danh sách công khai< NodeDef.Builder > getNodeBuilderList ()

repeated .tensorflow.NodeDef node = 1;

int công khai getNodeCount ()

repeated .tensorflow.NodeDef node = 1;

Danh sách công khai< NodeDef > getNodeList ()

repeated .tensorflow.NodeDef node = 1;

NodeDefOrBuilder công khai getNodeOrBuilder (chỉ mục int)

repeated .tensorflow.NodeDef node = 1;

Danh sách công khai<? mở rộng NodeDefOrBuilder > getNodeOrBuilderList ()

repeated .tensorflow.NodeDef node = 1;

int công khai getVersion ()

phiên bản

 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;

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;

boolean công khai 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 boolean công khai ()

 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 cuối cùng công khai được khởi tạo ()

công khai GraphDef.Builder mergeFrom (com.google.protobuf.Message other)

công khai GraphDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

public GraphDef.Builder mergeLibrary (giá trị 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;

trận chung kết công khai GraphDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public GraphDef.Builder mergeVersions (giá trị 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;

công khai GraphDef.Builder RemoveNode (chỉ mục int)

repeated .tensorflow.NodeDef node = 1;

GraphDef.Builder setField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

GraphDef.Builder setLibrary công khai ( 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;

GraphDef.Builder setLibrary công khai (giá trị 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 (chỉ mục int, giá trị NodeDef )

repeated .tensorflow.NodeDef node = 1;

GraphDef.Builder setNode công khai (chỉ mục int, NodeDef.Builder builderForValue)

repeated .tensorflow.NodeDef node = 1;

GraphDef.Builder setRepeatedField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)

trận chung kết công khai GraphDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

GraphDef.Builder setVersion công khai (giá trị int)

phiên bản

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

GraphDef.Builder setVersions công khai (giá trị 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;

GraphDef.Builder setVersions công khai ( 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;