classe finale pubblica 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.Tipo di protocollo
tensorflow.SavedResource
Classi nidificate
classe | SavedResource.Builder | A SavedResource represents a TF object that holds state during its lifetime. |
Costanti
int | DEVICE_FIELD_NUMBER |
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
risorsa salvata statica | |
Risorsa salvata | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
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. |
int | |
finale com.google.protobuf.UnknownFieldSet | |
int | codicehash () |
booleano finale | |
SavedResource.Builder statico | |
SavedResource.Builder statico | newBuilder (prototipo SavedResource ) |
SavedResource.Builder | |
risorsa salvata statica | parseDelimitedFrom (input InputStream) |
risorsa salvata statica | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
risorsa salvata statica | parseFrom (dati ByteBuffer) |
risorsa salvata statica | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
risorsa salvata statica | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
risorsa salvata statica | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
risorsa salvata statica | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
risorsa salvata statica | parseFrom (dati com.google.protobuf.ByteString) |
risorsa salvata statica | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
risorsa salvata statica | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
SavedResource.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int DEVICE_FIELD_NUMBER
Valore costante: 1
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;
pubblico getParserForType ()
public int getSerializedSize ()
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final booleano isInitialized ()
public static SavedResource parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico SavedResource (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico SavedResource (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico SavedResource (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
parseFrom pubblico statico SavedResource (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico SavedResource (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico SavedResource (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico SavedResource (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|