classe final estática pública 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.Tipo de protobuf
tensorflow.SavedResource
Métodos Públicos
SavedResource.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
Recurso salvo | construir () |
Recurso salvo | |
SavedResource.Builder | claro () |
SavedResource.Builder | limparDispositivo () A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
SavedResource.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof) |
SavedResource.Builder | clonar () |
Recurso salvo | |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Corda | getDispositivo () 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. |
booleano final | |
SavedResource.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource.Builder | mergeFrom (com.google.protobuf.Message outro) |
final SavedResource.Builder | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
SavedResource.Builder | setDevice (valor da string) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setDeviceBytes (valor com.google.protobuf.ByteString) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
SavedResource.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
final SavedResource.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
Métodos herdados
Métodos Públicos
public SavedResource.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público 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;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
String pública 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;
público 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;
público final booleano isInitialized ()
public SavedResource.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
public SavedResource.Builder setDevice (valor de string)
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 (valor 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;