คลาสสุดท้ายแบบคงที่สาธารณะ SavedResource.Builder
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 | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor ช่อง ค่าอ็อบเจ็กต์) |
ทรัพยากรที่บันทึกไว้ | สร้าง () |
ทรัพยากรที่บันทึกไว้ | สร้างบางส่วน () |
SavedResource.Builder | ชัดเจน () |
SavedResource.Builder | ล้างอุปกรณ์ () A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | clearField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor) |
SavedResource.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedResource.Builder | โคลน () |
ทรัพยากรที่บันทึกไว้ | |
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
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. |
บูลีนสุดท้าย | |
SavedResource.Builder | mergeFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource.Builder | mergeFrom (com.google.protobuf.ข้อความ อื่น ๆ ) |
SavedResource.Builder สุดท้าย | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
SavedResource.Builder | setDevice (ค่าสตริง) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setDeviceBytes (ค่า com.google.protobuf.ByteString) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์) |
SavedResource.Builder | setRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor, ดัชนี int, ค่าอ็อบเจ็กต์) |
SavedResource.Builder สุดท้าย | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
วิธีการสืบทอด
บูลีน | เท่ากับ (วัตถุ arg0) |
คลาสสุดท้าย<?> | รับคลาส () |
ภายใน | แฮชโค้ด () |
โมฆะสุดท้าย | แจ้ง () |
โมฆะสุดท้าย | แจ้งทั้งหมด () |
สตริง | toString () |
โมฆะสุดท้าย | รอสักครู่ (ยาว arg0, int arg1) |
โมฆะสุดท้าย | รอ (ยาว arg0) |
โมฆะสุดท้าย | รอ () |
สตริงที่เป็นนามธรรม | รับอุปกรณ์ () 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. |
วิธีการสาธารณะ
สาธารณะ SavedResource.Builder addRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
สาธารณะ SavedResource.Builder clearDevice ()
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.Descriptors.Descriptor getDescriptor ()
สาธารณะ com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
สตริงสาธารณะ 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;
บูลีนสุดท้ายสาธารณะ isInitialized ()
สาธารณะ SavedResource.Builder ผสานจาก (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
IOข้อยกเว้น |
---|
สาธารณะขั้นสุดท้าย SavedResource.Builder ผสาน UnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
สาธารณะ SavedResource.Builder setDevice (ค่าสตริง)
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;
สาธารณะ SavedResource.Builder setDeviceBytes (ค่า com.google.protobuf.ByteString)
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;