SavedResource kelas akhir publik
A SavedResource represents a TF object that holds state during its lifetime. An object of this type can have a reference to a: create_resource() and an initialize() function.
tensorflow.SavedResource
Kelas Bersarang
kelas | SavedResource.Builder | A SavedResource represents a TF object that holds state during its lifetime. |
Konstanta
ke dalam | DEVICE_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
Sumber Daya Tersimpan statis | |
Sumber Daya Tersimpan | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
Rangkaian | dapatkan Perangkat () A device specification indicating a required placement for the resource creation function, e.g. |
com.google.protobuf.ByteString | dapatkanDeviceBytes () A device specification indicating a required placement for the resource creation function, e.g. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
ke dalam | Kode hash () |
boolean terakhir | |
SavedResource.Builder statis | |
SavedResource.Builder statis | newBuilder (prototipe SavedResource ) |
SavedResource.Builder | |
Sumber Daya Tersimpan statis | parseDelimitedFrom (masukan Aliran Masukan) |
Sumber Daya Tersimpan statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Sumber Daya Tersimpan statis | parseFrom (data ByteBuffer) |
Sumber Daya Tersimpan statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Sumber Daya Tersimpan statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Sumber Daya Tersimpan statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
Sumber Daya Tersimpan statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Sumber Daya Tersimpan statis | parseFrom (com.google.protobuf.ByteString data) |
Sumber Daya Tersimpan statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Sumber Daya Tersimpan statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
SavedResource.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik DEVICE_FIELD_NUMBER
Nilai Konstan: 1
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
GetDevice String publik ()
A device specification indicating a required placement for the resource creation function, e.g. "CPU". An empty string allows the user to select a device.
string device = 1;
publik com.google.protobuf.ByteString getDeviceBytes ()
A device specification indicating a required placement for the resource creation function, e.g. "CPU". An empty string allows the user to select a device.
string device = 1;
publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom (input InputStream) statis publik parseDelimitedResource
Melempar
Pengecualian IO |
---|
parseDelimitedFrom dari SavedResource statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom SavedResource statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom SavedResource statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom SavedResource statis publik (com.google.protobuf.CodedInputStream masukan)
Melempar
Pengecualian IO |
---|
parseFrom SavedResource statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom SavedResource statis publik (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
parseFrom SavedResource statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom SavedResource 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 |
---|