SavedAsset kelas akhir publik
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).Tipe protobuf
tensorflow.SavedAsset
Kelas Bersarang
kelas | SavedAsset.Builder | A SavedAsset points to an asset in the MetaGraph. |
Konstanta
ke dalam | ASSET_FILE_DEF_INDEX_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
ke dalam | dapatkanAssetFileDefIndex () Index into `MetaGraphDef.asset_file_def[]` that describes the Asset. |
Aset Tersimpan statis | |
Aset Tersimpan | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
ke dalam | Kode hash () |
boolean terakhir | |
SavedAsset.Builder statis | newBuilder (prototipe SavedAsset ) |
SavedAsset.Builder statis | |
SavedAsset.Builder | |
Aset Tersimpan statis | parseDelimitedFrom (masukan Aliran Masukan) |
Aset Tersimpan statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Aset Tersimpan statis | parseFrom (data ByteBuffer) |
Aset Tersimpan statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Aset Tersimpan statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Aset Tersimpan statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
Aset Tersimpan statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Aset Tersimpan statis | parseFrom (com.google.protobuf.ByteString data) |
Aset Tersimpan statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Aset Tersimpan statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
SavedAsset.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik ASSET_FILE_DEF_INDEX_FIELD_NUMBER
Nilai Konstan: 1
Metode Publik
boolean publik sama (Obj objek)
int publik 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 ()
publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom dari SavedAsset statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom SavedAsset statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom SavedAsset statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom SavedAsset statis publik (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
parseFrom SavedAsset statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom SavedAsset statis publik (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
parseFrom SavedAsset statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom SavedAsset statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
statis publik pengurai ()
public void writeTo (keluaran com.google.protobuf.CodedOutputStream)
Melempar
Pengecualian IO |
---|