classe finale publique SavedResource
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 Classes imbriquées
| classe | SavedResource.Builder | A SavedResource represents a TF object that holds state during its lifetime. | |
Constantes
| int | DEVICE_FIELD_NUMBER |
Méthodes publiques
| booléen | est égal (Obj objet) |
| Ressource enregistrée statique | |
| RessourceEnregistrée | |
| final statique 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. |
| int | |
| final com.google.protobuf.UnknownFieldSet | |
| int | |
| booléen final | |
| statique SavedResource.Builder | |
| statique SavedResource.Builder | newBuilder (prototype SavedResource ) |
| SavedResource.Builder | |
| Ressource enregistrée statique | parseDelimitedFrom (entrée InputStream) |
| Ressource enregistrée statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Ressource enregistrée statique | parseFrom (données ByteBuffer) |
| Ressource enregistrée statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Ressource enregistrée statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Ressource enregistrée statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
| Ressource enregistrée statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Ressource enregistrée statique | parseFrom (données com.google.protobuf.ByteString) |
| Ressource enregistrée statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Ressource enregistrée statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statique | analyseur () |
| SavedResource.Builder | toBuilder () |
| vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int DEVICE_FIELD_NUMBER
Valeur constante : 1
Méthodes publiques
public booléen égal (Objet obj)
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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; publique getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
code de hachage int public ()
public final booléen isInitialized ()
public static SavedResource parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public statique SavedResource parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public static SavedResource parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| InvalidProtocolBufferException |
|---|
public statique SavedResource parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
| IOException |
|---|
public statique SavedResource parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| InvalidProtocolBufferException |
|---|
public statique SavedResource parseFrom (données com.google.protobuf.ByteString)
Jetés
| InvalidProtocolBufferException |
|---|
public static SavedResource parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public statique SavedResource parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| InvalidProtocolBufferException |
|---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
| IOException |
|---|