publiczna statyczna klasa końcowa 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 typu
tensorflow.SavedResource
Metody publiczne
SavedResource.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Zapisany zasób | zbudować () |
Zapisany zasób | |
SavedResource.Builder | jasne () |
SavedResource.Builder | wyczyść urządzenie () A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
SavedResource.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedResource.Builder | klon () |
Zapisany zasób | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Smyczkowy | pobierz urządzenie () 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. |
końcowa wartość logiczna | |
SavedResource.Builder | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
SavedResource.Builder | mergeFrom (com.google.protobuf.Wiadomość inna) |
końcowy plik SavedResource.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
SavedResource.Builder | setDevice (wartość ciągu) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setDeviceBytes (wartość com.google.protobuf.ByteString) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
SavedResource.Builder | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
końcowy plik SavedResource.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public SavedResource.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public 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 ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String 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;
publiczna końcowa wartość logiczna isInitialized ()
public SavedResource.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczny finał SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public SavedResource.Builder setDevice (wartość ciągu)
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 (wartość 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;