genel statik son sınıf 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 tipi
tensorflow.SavedResource
Genel Yöntemler
SavedResource.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
Kaydedilen Kaynak | inşa etmek () |
Kaydedilen Kaynak | inşaKısmi () |
SavedResource.Builder | temizlemek () |
SavedResource.Builder | clearDevice () A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
SavedResource.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedResource.Builder | klon () |
Kaydedilen Kaynak | |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Sicim | getCihaz () 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. |
son boole değeri | Başlatıldı () |
SavedResource.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource.Builder | mergeFrom (com.google.protobuf.Message other) |
son SavedResource.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
SavedResource.Builder | setDevice (Dize değeri) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setDeviceBytes (com.google.protobuf.ByteString değeri) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
SavedResource.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
son SavedResource.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
Kalıtsal Yöntemler
Genel Yöntemler
public SavedResource.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
genel 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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
genel Dize 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;
genel final boolean isInitialized ()
genel SavedResource.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel nihai SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public SavedResource.Builder setDevice (Dize değeri)
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 değeri)
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;