публичный статический конечный класс GraphDef.Builder
Represents the graph of operations
tensorflow.GraphDef
Публичные методы
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | |
NodeDef.Builder | добавитьNodeBuilder () repeated .tensorflow.NodeDef node = 1; |
NodeDef.Builder | addNodeBuilder (индекс целого числа) repeated .tensorflow.NodeDef node = 1; |
GraphDef.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
ГрафDef | строить () |
ГрафDef | |
GraphDef.Builder | прозрачный () |
GraphDef.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
GraphDef.Builder | ОчиститьБиблиотека () EXPERIMENTAL. |
GraphDef.Builder | ОчиститьУзел () repeated .tensorflow.NodeDef node = 1; |
GraphDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GraphDef.Builder | прозрачная версия () Deprecated single version field; use versions above instead. |
GraphDef.Builder | ОчиститьВерсии () Compatibility versions of the graph. |
GraphDef.Builder | клон () |
ГрафDef | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
ФункцияDefLibrary | получить библиотеку () EXPERIMENTAL. |
FunctionDefLibrary.Builder | getLibraryBuilder () EXPERIMENTAL. |
Функциондефлибрариорбилдер | getLibraryOrBuilder () EXPERIMENTAL. |
NodeDef | getNode (целочисленный индекс) repeated .tensorflow.NodeDef node = 1; |
NodeDef.Builder | getNodeBuilder (индекс целого числа) repeated .tensorflow.NodeDef node = 1; |
Список< NodeDef.Builder > | getNodeBuilderList () repeated .tensorflow.NodeDef node = 1; |
интервал | получитьNodeCount () repeated .tensorflow.NodeDef node = 1; |
Список< NodeDef > | получитьСписокНодов () repeated .tensorflow.NodeDef node = 1; |
NodeDefOrBuilder | getNodeOrBuilder (индекс целого числа) repeated .tensorflow.NodeDef node = 1; |
Список <? расширяет NodeDefOrBuilder > | getNodeOrBuilderList () repeated .tensorflow.NodeDef node = 1; |
интервал | получить версию () Deprecated single version field; use versions above instead. |
ВерсияDef | получить версии () Compatibility versions of the graph. |
VersionDef.Builder | getVersionsBuilder () Compatibility versions of the graph. |
ВерсияDefOrBuilder | getVersionsOrBuilder () Compatibility versions of the graph. |
логическое значение | имеетбиблиотеку () EXPERIMENTAL. |
логическое значение | имеет версии () Compatibility versions of the graph. |
последнее логическое значение | |
GraphDef.Builder | mergeFrom (com.google.protobuf.Message другое) |
GraphDef.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
GraphDef.Builder | |
окончательный GraphDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
GraphDef.Builder | |
GraphDef.Builder | удалитьNode (целочисленный индекс) repeated .tensorflow.NodeDef node = 1; |
GraphDef.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | |
GraphDef.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
окончательный GraphDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
GraphDef.Builder | setVersion (целое значение) Deprecated single version field; use versions above instead. |
GraphDef.Builder | |
GraphDef.Builder |
Унаследованные методы
Публичные методы
public GraphDef.Builder addAllNode (Iterable<? расширяет значения NodeDef >)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder addNode (индекс int, значение NodeDef )
repeated .tensorflow.NodeDef node = 1;
общедоступный GraphDef.Builder addNode ( NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
общедоступный GraphDef.Builder addNode (индекс int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общественный 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 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 ()
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;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
общественная 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;
общественная 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;
общественная 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;
общедоступный список < NodeDef.Builder > getNodeBuilderList ()
repeated .tensorflow.NodeDef node = 1;
public int getNodeCount ()
repeated .tensorflow.NodeDef node = 1;
общедоступный список<? расширяет 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];
общественный 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;
общедоступный 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;
общедоступный 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;
общедоступное логическое значение 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 ()
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 ()
общедоступный 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;
общедоступный финал GraphDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
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 setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общедоступный 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 )
repeated .tensorflow.NodeDef node = 1;
общедоступный GraphDef.Builder setNode (индекс int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
публичный финальный GraphDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
общедоступный GraphDef.Builder setVersion (целое значение)
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;
общедоступный 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;