classe final pública SavedAsset
A SavedAsset points to an asset in the MetaGraph. When bound to a function this object evaluates to a tensor with the absolute filename. Users should not depend on a particular part of the filename to remain stable (e.g. basename could be changed).
tensorflow.SavedAsset
tipo tensorflow.SavedAsset
Classes aninhadas
aula | SavedAsset.Builder | A SavedAsset points to an asset in the MetaGraph. |
Constantes
int | ASSET_FILE_DEF_INDEX_FIELD_NUMBER |
Métodos Públicos
boleano | igual a (objeto obj) |
int | getAssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
SavedAsset estático | |
SavedAsset | |
final static com.google.protobuf.Descriptors.Descriptor | |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashCode () |
final booleano | |
static SavedAsset.Builder | newBuilder (protótipo SavedAsset ) |
static SavedAsset.Builder | newBuilder () |
SavedAsset.Builder | |
SavedAsset estático | parseDelimitedFrom (input InputStream) |
SavedAsset estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedAsset estático | parseFrom (dados ByteBuffer) |
SavedAsset estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedAsset estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedAsset estático | parseFrom (com.google.protobuf.CodedInputStream input) |
SavedAsset estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedAsset estático | parseFrom (com.google.protobuf.ByteString data) |
SavedAsset estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedAsset estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
SavedAsset.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int ASSET_FILE_DEF_INDEX_FIELD_NUMBER
Valor Constante: 1
Métodos Públicos
public boolean equals (Object obj)
public int getAssetFileDefIndex ()
Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. Only the field `AssetFileDef.filename` is used. Other fields, such as `AssetFileDef.tensor_info`, MUST be ignored.
int32 asset_file_def_index = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static SavedAsset parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SavedAsset parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SavedAsset parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static SavedAsset parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static SavedAsset parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static SavedAsset parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SavedAsset parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|