classe finale statica pubblica 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.
tensorflow.SavedResource
Metodi pubblici
SavedResource.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
Risorsa salvata | costruire () |
Risorsa salvata | buildPartial () |
SavedResource.Builder | chiaro () |
SavedResource.Builder | clearDevice () 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 oneof) |
SavedResource.Builder | clone () |
Risorsa salvata | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
Corda | getDevice () 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 finale | |
SavedResource.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
SavedResource.Builder | mergeFrom (com.google.protobuf.Message altro) |
finale SavedResource.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
SavedResource.Builder | setDevice (valore stringa) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setDeviceBytes (valore 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, valore oggetto) |
SavedResource.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
finale SavedResource.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public SavedResource.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
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 ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
stringa pubblica 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;
pubblico 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;
public final booleano isInitialized ()
public SavedResource.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public final SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public SavedResource.Builder setDevice (valore stringa)
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;
pubblico SavedResource.Builder setDeviceBytes (valore 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;