パブリック静的最終クラスGraphDef.Builder
Represents the graph of operations
tensorflow.GraphDef
パブリックメソッド
グラフ定義ビルダー | |
グラフ定義ビルダー | |
グラフ定義ビルダー | |
グラフ定義ビルダー | |
グラフ定義ビルダー | |
NodeDef.Builder | addNodeBuilder () repeated .tensorflow.NodeDef node = 1; |
NodeDef.Builder | addNodeBuilder (int インデックス) repeated .tensorflow.NodeDef node = 1; |
グラフ定義ビルダー | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
グラフ定義 | 建てる() |
グラフ定義 | buildPartial () |
グラフ定義ビルダー | クリア() |
グラフ定義ビルダー | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
グラフ定義ビルダー | クリアライブラリ() EXPERIMENTAL. |
グラフ定義ビルダー | クリアノード() repeated .tensorflow.NodeDef node = 1; |
グラフ定義ビルダー | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
グラフ定義ビルダー | クリアバージョン() Deprecated single version field; use versions above instead. |
グラフ定義ビルダー | クリアバージョン() Compatibility versions of the graph. |
グラフ定義ビルダー | クローン() |
グラフ定義 | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
関数定義ライブラリ | getライブラリ() EXPERIMENTAL. |
FunctionDefLibrary.Builder | getLibraryBuilder () EXPERIMENTAL. |
FunctionDefLibraryOrBuilder | getLibraryOrBuilder () EXPERIMENTAL. |
ノード定義 | getNode (int インデックス) repeated .tensorflow.NodeDef node = 1; |
NodeDef.Builder | getNodeBuilder (int インデックス) repeated .tensorflow.NodeDef node = 1; |
リスト< NodeDef.Builder > | getNodeBuilderList () repeated .tensorflow.NodeDef node = 1; |
整数 | getNodeCount () repeated .tensorflow.NodeDef node = 1; |
リスト< NodeDef > | getNodeList () repeated .tensorflow.NodeDef node = 1; |
ノード定義またはビルダー | getNodeOrBuilder (int インデックス) repeated .tensorflow.NodeDef node = 1; |
リスト<? NodeDefOrBuilder を拡張 > | getNodeOrBuilderList () repeated .tensorflow.NodeDef node = 1; |
整数 | getバージョン() Deprecated single version field; use versions above instead. |
バージョン定義 | getVersions () Compatibility versions of the graph. |
バージョン定義ビルダー | getVersionsBuilder () Compatibility versions of the graph. |
バージョン定義またはビルダー | getVersionsOrBuilder () Compatibility versions of the graph. |
ブール値 | ライブラリあり() EXPERIMENTAL. |
ブール値 | バージョンあり() Compatibility versions of the graph. |
最終ブール値 | |
グラフ定義ビルダー | mergeFrom (com.google.protobuf.Message other) |
グラフ定義ビルダー | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
グラフ定義ビルダー | |
最終的なGraphDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
グラフ定義ビルダー | |
グラフ定義ビルダー | 削除ノード(int インデックス) repeated .tensorflow.NodeDef node = 1; |
グラフ定義ビルダー | setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
グラフ定義ビルダー | |
グラフ定義ビルダー | |
グラフ定義ビルダー | |
グラフ定義ビルダー | |
グラフ定義ビルダー | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値) |
最終的なGraphDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
グラフ定義ビルダー | setVersion (int 値) Deprecated single version field; use versions above instead. |
グラフ定義ビルダー | |
グラフ定義ビルダー |
継承されたメソッド
パブリックメソッド
public GraphDef.Builder addAllNode (Iterable<? extends NodeDef > 値)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder addNode ( NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder addNode (int インデックス、 NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder addRepeatedField (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 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;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public 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 int getNodeCount ()
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 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;
public boolean 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;
public boolean 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;
パブリック最終ブール値isInitialized ()
public GraphDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public GraphDef.Builder mergeLibrary ( 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 mergeVersions ( 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 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 ( 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 (int インデックス、 NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
public GraphDef.Builder setVersion (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 ( 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;