lớp cuối cùng tĩnh công khai GraphDef.Builder
Represents the graph of operations
tensorflow.GraphDef
Phương pháp công khai
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | |
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 | xây dựng () |
GraphDef | |
GraphDef.Builder | thông thoáng () |
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 | dòng vô tính () |
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 | |
GraphDef.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
GraphDef.Builder | |
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 | |
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | |
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 | |
GraphDef.Builder |
Phương pháp kế thừa
Phương pháp công khai
công khai GraphDef.Builder addAllNode (Các giá trị Iterable<?extend 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;
GraphDef.Builder công khai addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
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;
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;
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;
int công khai getNodeCount ()
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 ()
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 (đầ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;
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;
GraphDef.Builder setNode công khai (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)
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 (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;