публичный статический конечный класс 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.Тип protobuf
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 | getDeviceBytes () 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.Message другое) |
окончательный 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) |
Унаследованные методы
Публичные методы
public 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;
public 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 ()
public SavedResource.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный финал SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public 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;
public 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;