SavedVariable kelas akhir publik
Represents a Variable that is initialized by loading the contents from the checkpoint.
tensorflow.SavedVariable Kelas Bersarang
| kelas | Variabel Tersimpan.Pembangun | Represents a Variable that is initialized by loading the contents from the checkpoint. | |
Konstanta
| ke dalam | AGGREGATION_FIELD_NUMBER | |
| ke dalam | DEVICE_FIELD_NUMBER | |
| ke dalam | DTYPE_FIELD_NUMBER | |
| ke dalam | EXPERIMENTAL_DISTRIBUTED_VARIABLE_COMPONENTS_FIELD_NUMBER | |
| ke dalam | NAME_FIELD_NUMBER | |
| ke dalam | BENTUK_FIELD_NUMBER | |
| ke dalam | SYNCHRONIZATION_FIELD_NUMBER | |
| ke dalam | TRAINABLE_FIELD_NUMBER |
Metode Publik
| boolean | sama dengan (Objek objek) |
| Agregasi Variabel | dapatkanAgregasi () .tensorflow.VariableAggregation aggregation = 5; |
| ke dalam | dapatkan Nilai Agregasi () .tensorflow.VariableAggregation aggregation = 5; |
| Variabel Tersimpan statis | |
| Variabel Tersimpan | |
| com.google.protobuf.Descriptors.Descriptor statis terakhir | |
| Rangkaian | dapatkan Perangkat () string device = 7; |
| com.google.protobuf.ByteString | dapatkanDeviceBytes () string device = 7; |
| Tipe Data | dapatkan tipe D () .tensorflow.DataType dtype = 1; |
| ke dalam | dapatkanDtypeValue () .tensorflow.DataType dtype = 1; |
| Variabel Tersimpan | getExperimentalDistributedVariableComponents (indeks int) List of component variables for a distributed variable. |
| ke dalam | dapatkanExperimentalDistributedVariableComponentsCount () List of component variables for a distributed variable. |
| Daftar< Variabel Tersimpan > | getExperimentalDistributedVariableComponentsList () List of component variables for a distributed variable. |
| VariableOrBuilder Tersimpan | getExperimentalDistributedVariableComponentsOrBuilder (indeks int) List of component variables for a distributed variable. |
| Daftar<? memperluas SavedVariableOrBuilder > | dapatkanExperimentalDistributedVariableComponentsOrBuilderList () List of component variables for a distributed variable. |
| Rangkaian | dapatkan Nama () string name = 6; |
| com.google.protobuf.ByteString | dapatkanNamaBytes () string name = 6; |
| ke dalam | |
| TensorBentukProto | dapatkanBentuk () .tensorflow.TensorShapeProto shape = 2; |
| TensorShapeProtoOrBuilder | dapatkanBentukOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
| Sinkronisasi Variabel | dapatkan Sinkronisasi () .tensorflow.VariableSynchronization synchronization = 4; |
| ke dalam | dapatkanNilai Sinkronisasi () .tensorflow.VariableSynchronization synchronization = 4; |
| boolean | dapatkan Dapat Dilatih () bool trainable = 3; |
| final com.google.protobuf.UnknownFieldSet | |
| boolean | memilikiBentuk () .tensorflow.TensorShapeProto shape = 2; |
| ke dalam | Kode hash () |
| boolean terakhir | |
| SavedVariable.Builder statis | newBuilder (prototipe SavedVariable ) |
| SavedVariable.Builder statis | |
| Variabel Tersimpan.Pembangun | |
| Variabel Tersimpan statis | parseDelimitedFrom (masukan Aliran Masukan) |
| Variabel Tersimpan statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Variabel Tersimpan statis | parseFrom (data ByteBuffer) |
| Variabel Tersimpan statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Variabel Tersimpan statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Variabel Tersimpan statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
| Variabel Tersimpan statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Variabel Tersimpan statis | parseFrom (com.google.protobuf.ByteString data) |
| Variabel Tersimpan statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Variabel Tersimpan statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statis | pengurai () |
| Variabel Tersimpan.Pembangun | |
| ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik AGGREGATION_FIELD_NUMBER
Nilai Konstan: 5
int akhir statis publik DEVICE_FIELD_NUMBER
Nilai Konstan: 7
int akhir statis publik DTYPE_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik EXPERIMENTAL_DISTRIBUTED_VARIABLE_COMPONENTS_FIELD_NUMBER
Nilai Konstan: 8
int final statis publik NAME_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik SHAPE_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik SYNCHRONIZATION_FIELD_NUMBER
Nilai Konstan: 4
int akhir statis publik TRAINABLE_FIELD_NUMBER
Nilai Konstan: 3
Metode Publik
boolean publik sama (Obj objek)
int publik getAggregationValue ()
.tensorflow.VariableAggregation aggregation = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
GetDevice String publik ()
string device = 7;
com.google.protobuf.ByteString publik getDeviceBytes ()
string device = 7;
int publik getDtypeValue ()
.tensorflow.DataType dtype = 1;
public SavedVariable getExperimentalDistributedVariableComponents (indeks int)
List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8; public int getExperimentalDistributedVariableComponentsCount ()
List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8; Daftar publik< SavedVariable > getExperimentalDistributedVariableComponentsList ()
List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8; publik SavedVariableOrBuilder getExperimentalDistributedVariableComponentsOrBuilder (int indeks)
List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8; Daftar Publik<? extends SavedVariableOrBuilder > getExperimentalDistributedVariableComponentsOrBuilderList ()
List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8; GetName String publik ()
string name = 6;
publik com.google.protobuf.ByteString getNameBytes ()
string name = 6;
publik dapatkanParserForType ()
publik int getSerializedSize ()
Sinkronisasi Variabel publik getSinkronisasi ()
.tensorflow.VariableSynchronization synchronization = 4;
int publik getSynchronizationValue ()
.tensorflow.VariableSynchronization synchronization = 4;
getTrainable boolean publik ()
bool trainable = 3;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik hasShape ()
.tensorflow.TensorShapeProto shape = 2;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom (input InputStream) statis publik parseDelimitedVariable
Melempar
| Pengecualian IO |
|---|
public static SavedVariable parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom SavedVariable statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom SavedVariable statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException |
|---|
parseFrom SavedVariable statis publik (com.google.protobuf.CodedInputStream masukan)
Melempar
| Pengecualian IO |
|---|
parseFrom SavedVariable statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException |
|---|
parseFrom SavedVariable statis publik (com.google.protobuf.ByteString data)
Melempar
| InvalidProtocolBufferException |
|---|
parseFrom SavedVariable statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom SavedVariable 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 |
|---|