classe finale statique publique 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
de type Protobuf.SavedResource Méthodes publiques
SavedResource.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
RessourceEnregistrée | construire () |
RessourceEnregistrée | buildPartial () |
SavedResource.Builder | clair () |
SavedResource.Builder | clearDevice () A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
SavedResource.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedResource.Builder | cloner () |
RessourceEnregistrée | |
final statique com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Chaîne | 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. |
booléen final | |
SavedResource.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource.Builder | mergeFrom (com.google.protobuf.Message autre) |
final SavedResource.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
SavedResource.Builder | setDevice (valeur de chaîne) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setDeviceBytes (valeur com.google.protobuf.ByteString) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
SavedResource.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
final SavedResource.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
Méthodes héritées
Méthodes publiques
public SavedResource.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
chaîne publique 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;
public final booléen isInitialized ()
public SavedResource.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public final SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SavedResource.Builder setDevice (valeur de chaîne)
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 (valeur 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;