GraphDef de clase final pública
Represents the graph of operationstipo
tensorflow.GraphDef
Clases anidadas
clase | GraphDef.Builder | Represents the graph of operationstipo tensorflow.GraphDef |
Constantes
En t | LIBRARY_FIELD_NUMBER | |
En t | NODE_FIELD_NUMBER | |
En t | VERSIONS_FIELD_NUMBER | |
En t | VERSION_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
GraphDef estático | |
GraphDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
FunctionDefLibrary | getLibrary () EXPERIMENTAL. |
FunctionDefLibraryOrBuilder | getLibraryOrBuilder () EXPERIMENTAL. |
NodeDef | getNode (índice int) repeated .tensorflow.NodeDef node = 1; |
En t | getNodeCount () repeated .tensorflow.NodeDef node = 1; |
Lista < NodeDef > | getNodeList () repeated .tensorflow.NodeDef node = 1; |
NodeDefOrBuilder | getNodeOrBuilder (índice int) repeated .tensorflow.NodeDef node = 1; |
Lista <? extiende NodeDefOrBuilder > | getNodeOrBuilderList () repeated .tensorflow.NodeDef node = 1; |
En t | |
final com.google.protobuf.UnknownFieldSet | |
En t | getVersion () Deprecated single version field; use versions above instead. |
VersionDef | getVersions () Compatibility versions of the graph. |
VersionDefOrBuilder | getVersionsOrBuilder () Compatibility versions of the graph. |
booleano | hasLibrary () EXPERIMENTAL. |
booleano | hasVersions () Compatibility versions of the graph. |
En t | hashCode () |
booleano final | |
GraphDef.Builder estático | newBuilder () |
GraphDef.Builder estático | newBuilder (prototipo GraphDef ) |
GraphDef.Builder | |
GraphDef estático | parseDelimitedFrom (entrada InputStream) |
GraphDef estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphDef estático | parseFrom (datos ByteBuffer) |
GraphDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphDef estático | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
GraphDef estático | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphDef estático | parseFrom (datos com.google.protobuf.ByteString) |
GraphDef estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphDef estático | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
GraphDef.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int LIBRARY_FIELD_NUMBER
Valor constante: 2
public static final int NODE_FIELD_NUMBER
Valor constante: 1
public static final int VERSIONS_FIELD_NUMBER
Valor constante: 4
public static final int VERSION_FIELD_NUMBER
Valor constante: 3
Métodos públicos
public boolean es igual a (Object obj)
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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 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;
Lista pública <? extiende NodeDefOrBuilder > getNodeOrBuilderList ()
repeated .tensorflow.NodeDef node = 1;
público getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
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];
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 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;
public int hashCode ()
public final boolean isInitialized ()
public static GraphDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static GraphDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
público estático GraphDef parseFrom (ByteBuffer datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático GraphDef parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
público estático GraphDef parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático GraphDef parseFrom (datos de com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
public static GraphDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static GraphDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|