คลาสสุดท้ายสาธารณะ SavedVariable
Represents a Variable that is initialized by loading the contents from the checkpoint.
tensorflow.SavedVariable คลาสที่ซ้อนกัน
| ระดับ | SavedVariable.Builder | Represents a Variable that is initialized by loading the contents from the checkpoint. | |
ค่าคงที่
| ภายใน | AGGREGATION_FIELD_NUMBER | |
| ภายใน | DEVICE_FIELD_NUMBER | |
| ภายใน | DTYPE_FIELD_NUMBER | |
| ภายใน | EXPERIMENTAL_DISTRIBUTED_VARIABLE_COMPONENTS_FIELD_NUMBER | |
| ภายใน | NAME_FIELD_NUMBER | |
| ภายใน | SHAPE_FIELD_NUMBER | |
| ภายใน | การซิงโครไนซ์_FIELD_NUMBER | |
| ภายใน | TRAINABLE_FIELD_NUMBER |
วิธีการสาธารณะ
| บูลีน | เท่ากับ (วัตถุ obj) |
| การรวมตัวของตัวแปร | ได้รับการรวมกลุ่ม () .tensorflow.VariableAggregation aggregation = 5; |
| ภายใน | getAggregationValue () .tensorflow.VariableAggregation aggregation = 5; |
| ตัวแปรที่บันทึกไว้แบบคงที่ | |
| ตัวแปรที่บันทึกไว้ | |
| com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
| สตริง | รับอุปกรณ์ () string device = 7; |
| com.google.protobuf.ByteString | รับอุปกรณ์ไบต์ () string device = 7; |
| ประเภทข้อมูล | getDtype () .tensorflow.DataType dtype = 1; |
| ภายใน | getDtypeValue () .tensorflow.DataType dtype = 1; |
| ตัวแปรที่บันทึกไว้ | getExperimentalDistributedVariableComponents (ดัชนี int) List of component variables for a distributed variable. |
| ภายใน | getExperimentalDistributedVariableComponentsCount () List of component variables for a distributed variable. |
| รายการ < ตัวแปรที่บันทึกไว้ > | getExperimentalDistributedVariableComponentsList () List of component variables for a distributed variable. |
| SavedVariableOrBuilder | getExperimentalDistributedVariableComponentsOrBuilder (ดัชนี int) List of component variables for a distributed variable. |
| รายการ<? ขยาย SavedVariableOrBuilder > | getExperimentalDistributedVariableComponentsOrBuilderList () List of component variables for a distributed variable. |
| สตริง | รับชื่อ () string name = 6; |
| com.google.protobuf.ByteString | getNameBytes () string name = 6; |
| ภายใน | |
| เทนเซอร์รูปร่างโปรโต | รับรูปร่าง () .tensorflow.TensorShapeProto shape = 2; |
| TensorShapeProtoOrBuilder | getShapeOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
| การซิงโครไนซ์ตัวแปร | ได้รับการซิงโครไนซ์ () .tensorflow.VariableSynchronization synchronization = 4; |
| ภายใน | รับค่าการซิงโครไนซ์ () .tensorflow.VariableSynchronization synchronization = 4; |
| บูลีน | รับการฝึกอบรม () bool trainable = 3; |
| สุดท้าย com.google.protobuf.UnknownFieldSet | |
| บูลีน | มีรูปร่าง () .tensorflow.TensorShapeProto shape = 2; |
| ภายใน | แฮชโค้ด () |
| บูลีนสุดท้าย | |
| SavedVariable.Builder แบบคงที่ | newBuilder (ต้นแบบ SavedVariable ) |
| SavedVariable.Builder แบบคงที่ | ตัวสร้างใหม่ () |
| SavedVariable.Builder | |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseDelimitedFrom (อินพุต InputStream) |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseDelimitedFrom (อินพุตสตรีม com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseFrom (ข้อมูล ByteBuffer) |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseFrom (อินพุต com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseFrom (com.google.protobuf.CodedInputStream อินพุต) |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseFrom (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString) |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ตัวแปรที่บันทึกไว้แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| คงที่ | |
| SavedVariable.Builder | toBuilder () |
| เป็นโมฆะ | writeTo (เอาต์พุต com.google.protobuf.CodedOutputStream) |
วิธีการสืบทอด
ค่าคงที่
รอบชิงชนะเลิศแบบคงที่สาธารณะ int AGGREGATION_FIELD_NUMBER
ค่าคงที่: 5
สาธารณะคงที่ขั้นสุดท้าย int DEVICE_FIELD_NUMBER
ค่าคงที่: 7
สาธารณะคงสุดท้าย int DTYPE_FIELD_NUMBER
ค่าคงที่: 1
int สุดท้ายคงที่สาธารณะ EXPERIMENTAL_DISTRIBUTED_VARIABLE_COMPONENTS_FIELD_NUMBER
ค่าคงที่: 8
int สุดท้ายคงที่สาธารณะ NAME_FIELD_NUMBER
ค่าคงที่: 6
int สุดท้ายคงที่สาธารณะ SHAPE_FIELD_NUMBER
ค่าคงที่: 2
สาธารณะคงสุดท้าย int SYNCHRONIZATION_FIELD_NUMBER
ค่าคงที่: 4
สาธารณะคงสุดท้าย int TRAINABLE_FIELD_NUMBER
ค่าคงที่: 3
วิธีการสาธารณะ
บูลีนสาธารณะ เท่ากับ (Object obj)
สาธารณะ int getAggregationValue ()
.tensorflow.VariableAggregation aggregation = 5;
สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()
สตริงสาธารณะ getDevice ()
string device = 7;
สาธารณะ com.google.protobuf.ByteString getDeviceBytes ()
string device = 7;
สาธารณะ int getDtypeValue ()
.tensorflow.DataType dtype = 1;
สาธารณะ SavedVariable getExperimentalDistributedVariableComponents (ดัชนี 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; 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; รายการสาธารณะ < 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; สาธารณะ SavedVariableOrBuilder getExperimentalDistributedVariableComponentsOrBuilder (ดัชนี 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; รายการสาธารณะ<? ขยาย 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 name = 6;
สาธารณะ com.google.protobuf.ByteString getNameBytes ()
string name = 6;
สาธารณะ getParserForType ()
สาธารณะ int getSerializedSize ()
สาธารณะ VariableSynchronization getSynchronization ()
.tensorflow.VariableSynchronization synchronization = 4;
int สาธารณะ getSynchronizationValue ()
.tensorflow.VariableSynchronization synchronization = 4;
getTrainable บูลีนสาธารณะ ()
bool trainable = 3;
สาธารณะสุดท้าย com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasShape บูลีนสาธารณะ ()
.tensorflow.TensorShapeProto shape = 2;
สาธารณะ int hashCode ()
บูลีนสุดท้ายสาธารณะ isInitialized ()
สาธารณะ SavedVariable parseDelimitedFrom คงที่ (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ SavedVariable parseFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ SavedVariable parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะคงที่ SavedVariable parseFrom (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะคงที่ SavedVariable parseFrom (ข้อมูล com.google.protobuf.ByteString)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะ StadVariable parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ SavedVariable parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะคงที่ ตัวแยกวิเคราะห์ ()
โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)
ขว้าง
| IOข้อยกเว้น |
|---|