clase 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.Protobuf tipo
tensorflow.SavedResource
Métodos públicos
Recursos guardados.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
recurso guardado | construir () |
recurso guardado | |
Recursos guardados.Builder | claro () |
Recursos guardados.Builder | borrar dispositivo () A device specification indicating a required placement for the resource creation function, e.g. |
Recursos guardados.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
Recursos guardados.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
Recursos guardados.Builder | clonar () |
recurso guardado | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Cadena | obtener dispositivo () A device specification indicating a required placement for the resource creation function, e.g. |
com.google.protobuf.ByteString | obtenerDeviceBytes () A device specification indicating a required placement for the resource creation function, e.g. |
booleano final | |
Recursos guardados.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
Recursos guardados.Builder | mergeFrom (com.google.protobuf.Message otro) |
SavedResource.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Recursos guardados.Builder | setDevice (valor de cadena) A device specification indicating a required placement for the resource creation function, e.g. |
Recursos guardados.Builder | setDeviceBytes (valor com.google.protobuf.ByteString) A device specification indicating a required placement for the resource creation function, e.g. |
Recursos guardados.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
Recursos guardados.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
SavedResource.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
public SavedResource.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del 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;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
cadena 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)
Lanza
IOExcepción |
---|
SavedResource.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
public SavedResource.Builder setDevice (valor de cadena)
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 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;