คลาสสุดท้ายสาธารณะ SavedResource
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 คลาสที่ซ้อนกัน
| ระดับ | SavedResource.Builder | A SavedResource represents a TF object that holds state during its lifetime. | |
ค่าคงที่
| ภายใน | DEVICE_FIELD_NUMBER |
วิธีการสาธารณะ
| บูลีน | เท่ากับ (วัตถุ obj) |
| SavedResource แบบคงที่ | |
| ทรัพยากรที่บันทึกไว้ | |
| com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
| สตริง | รับอุปกรณ์ () A device specification indicating a required placement for the resource creation function, e.g. |
| com.google.protobuf.ByteString | รับอุปกรณ์ไบต์ () A device specification indicating a required placement for the resource creation function, e.g. |
| ภายใน | |
| สุดท้าย com.google.protobuf.UnknownFieldSet | |
| ภายใน | แฮชโค้ด () |
| บูลีนสุดท้าย | |
| SavedResource.Builder แบบคงที่ | ตัวสร้างใหม่ () |
| SavedResource.Builder แบบคงที่ | newBuilder (ต้นแบบ SavedResource ) |
| SavedResource.Builder | |
| SavedResource แบบคงที่ | parseDelimitedFrom (อินพุต InputStream) |
| SavedResource แบบคงที่ | parseDelimitedFrom (อินพุตสตรีม com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| SavedResource แบบคงที่ | parseFrom (ข้อมูล ByteBuffer) |
| SavedResource แบบคงที่ | parseFrom (อินพุต com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| SavedResource แบบคงที่ | parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| SavedResource แบบคงที่ | parseFrom (com.google.protobuf.CodedInputStream อินพุต) |
| SavedResource แบบคงที่ | parseFrom (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| SavedResource แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString) |
| SavedResource แบบคงที่ | parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| SavedResource แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| คงที่ | |
| SavedResource.Builder | toBuilder () |
| เป็นโมฆะ | writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต) |
วิธีการสืบทอด
ค่าคงที่
สาธารณะคงที่ขั้นสุดท้าย int DEVICE_FIELD_NUMBER
ค่าคงที่: 1
วิธีการสาธารณะ
บูลีนสาธารณะ เท่ากับ (Object obj)
สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()
สตริงสาธารณะ getDevice ()
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; สาธารณะ 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; สาธารณะ getParserForType ()
สาธารณะ int getSerializedSize ()
สาธารณะสุดท้าย com.google.protobuf.UnknownFieldSet getUnknownFields ()
สาธารณะ int hashCode ()
บูลีนสุดท้ายสาธารณะ isInitialized ()
สาธารณะ SavedResource parseDelimitedFrom สาธารณะ (อินพุตสตรีม, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ SavedResource parseFrom สาธารณะ (ข้อมูล ByteBuffer)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
SavedResource parseFrom สาธารณะ แบบคงที่ (อินพุต com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ SavedResource parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะ SavedResource parseFrom สาธารณะ (อินพุต com.google.protobuf.CodedInputStream)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ SavedResource parseFrom (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะ SavedResource parseFrom สาธารณะ (ข้อมูล com.google.protobuf.ByteString)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
SavedResource parseFrom สาธารณะ แบบคงที่ (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ SavedResource parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะคงที่ ตัวแยกวิเคราะห์ ()
โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)
ขว้าง
| IOข้อยกเว้น |
|---|