classe finale pubblica 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
Classi nidificate
classe | SavedAsset.Builder | A SavedAsset points to an asset in the MetaGraph. |
Costanti
int | ASSET_FILE_DEF_INDEX_FIELD_NUMBER |
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
int | getAssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
Asset salvato statico | |
Asset salvato | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
int | |
finale com.google.protobuf.UnknownFieldSet | |
int | codicehash () |
booleano finale | |
SavedAsset.Builder statico | newBuilder (prototipo SavedAsset ) |
SavedAsset.Builder statico | |
SavedAsset.Builder | |
Asset salvato statico | parseDelimitedFrom (input InputStream) |
Asset salvato statico | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Asset salvato statico | parseFrom (dati ByteBuffer) |
Asset salvato statico | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
Asset salvato statico | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Asset salvato statico | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
Asset salvato statico | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Asset salvato statico | parseFrom (dati com.google.protobuf.ByteString) |
Asset salvato statico | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Asset salvato statico | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
SavedAsset.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int ASSET_FILE_DEF_INDEX_FIELD_NUMBER
Valore costante: 1
Metodi pubblici
booleano pubblico è uguale a (Oggetto 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 ()
pubblico getParserForType ()
public int getSerializedSize ()
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final booleano isInitialized ()
public static SavedAsset parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico SavedAsset (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico SavedAsset (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico SavedAsset (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
parseFrom pubblico statico SavedAsset (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico SavedAsset (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico SavedAsset (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico SavedAsset (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|