publiczna statyczna klasa końcowa GraphDef.Builder
Represents the graph of operations
tensorflow.GraphDef
Metody publiczne
Konstruktor GraphDef | |
Konstruktor GraphDef | |
Konstruktor GraphDef | |
Konstruktor GraphDef | |
Konstruktor GraphDef | |
Konstruktor NodeDef | addNodeBuilder () repeated .tensorflow.NodeDef node = 1; |
Konstruktor NodeDef | addNodeBuilder (indeks int) repeated .tensorflow.NodeDef node = 1; |
Konstruktor GraphDef | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
WykresDef | zbudować () |
WykresDef | |
Konstruktor GraphDef | jasne () |
Konstruktor GraphDef | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
Konstruktor GraphDef | wyczyść bibliotekę () EXPERIMENTAL. |
Konstruktor GraphDef | wyczyść węzeł () repeated .tensorflow.NodeDef node = 1; |
Konstruktor GraphDef | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Konstruktor GraphDef | wyczyść wersję () Deprecated single version field; use versions above instead. |
Konstruktor GraphDef | jasne wersje () Compatibility versions of the graph. |
Konstruktor GraphDef | klon () |
WykresDef | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
FunkcjaDefLibrary | pobierz bibliotekę () EXPERIMENTAL. |
FunctionDefLibrary.Builder | pobierzLibraryBuilder () EXPERIMENTAL. |
FunkcjaDefLibraryOrBuilder | getLibraryOrBuilder () EXPERIMENTAL. |
Wartość węzła | getNode (indeks int) repeated .tensorflow.NodeDef node = 1; |
Konstruktor NodeDef | getNodeBuilder (indeks int) repeated .tensorflow.NodeDef node = 1; |
Lista< NodeDef.Builder > | getNodeBuilderList () repeated .tensorflow.NodeDef node = 1; |
wew | getNodeCount () repeated .tensorflow.NodeDef node = 1; |
Lista <NodeDef> | getNodeList () repeated .tensorflow.NodeDef node = 1; |
NodeDefOrBuilder | getNodeOrBuilder (indeks int) repeated .tensorflow.NodeDef node = 1; |
Lista<? rozszerza NodeDefOrBuilder > | getNodeOrBuilderList () repeated .tensorflow.NodeDef node = 1; |
wew | pobierz wersję () Deprecated single version field; use versions above instead. |
WersjaDef | pobierz wersję () Compatibility versions of the graph. |
WersjaDef.Builder | getVersionsBuilder () Compatibility versions of the graph. |
WersjaDefOrBuilder | getVersionsOrBuilder () Compatibility versions of the graph. |
wartość logiczna | maBibliotekę () EXPERIMENTAL. |
wartość logiczna | ma wersje () Compatibility versions of the graph. |
końcowa wartość logiczna | |
Konstruktor GraphDef | mergeFrom (com.google.protobuf.Wiadomość inna) |
Konstruktor GraphDef | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
Konstruktor GraphDef | |
końcowy GraphDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Konstruktor GraphDef | |
Konstruktor GraphDef | usuńNode (indeks int) repeated .tensorflow.NodeDef node = 1; |
Konstruktor GraphDef | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Konstruktor GraphDef | |
Konstruktor GraphDef | |
Konstruktor GraphDef | |
Konstruktor GraphDef | |
Konstruktor GraphDef | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
końcowy GraphDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Konstruktor GraphDef | setVersion (wartość int) Deprecated single version field; use versions above instead. |
Konstruktor GraphDef | |
Konstruktor GraphDef |
Metody dziedziczone
Metody publiczne
public GraphDef.Builder addAllNode (Iterable<? rozszerza wartości NodeDef >)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder addNode (indeks int, wartość NodeDef )
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder addNode ( NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder addNode (indeks int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
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 ()
publiczny 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;
publiczny int getNodeCount ()
repeated .tensorflow.NodeDef node = 1;
lista publiczna<? rozszerza NodeDefOrBuilder > getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
publiczny 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];
wersja publicznaDef 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;
wersja publicznaDef.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;
wersja publicznaDefOrBuilder 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;
publiczna wartość logiczna 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;
publiczna wartość logiczna maVersions ()
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;
publiczna końcowa wartość logiczna isInitialized ()
public GraphDef.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
public GraphDef.Builder mergeLibrary (wartość 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;
publiczny końcowy GraphDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public GraphDef.Builder mergeVersions (wartość 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 (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
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 (wartość 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, wartość NodeDef )
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder setNode (indeks int, NodeDef.Builder builderForValue)
repeated .tensorflow.NodeDef node = 1;
public GraphDef.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
public GraphDef.Builder setVersion (wartość 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 (wartość 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;