classe final pública 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
tipo tensorflow.SavedResource
Classes aninhadas
aula | SavedResource.Builder | A SavedResource represents a TF object that holds state during its lifetime. |
Constantes
int | DEVICE_FIELD_NUMBER |
Métodos Públicos
boleano | igual a (objeto obj) |
SavedResource estático | |
SavedResource | |
final static com.google.protobuf.Descriptors.Descriptor | |
Fragmento | 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 | hashCode () |
final booleano | |
static SavedResource.Builder | newBuilder () |
static SavedResource.Builder | newBuilder (protótipo SavedResource ) |
SavedResource.Builder | |
SavedResource estático | parseDelimitedFrom (input InputStream) |
SavedResource estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource estático | parseFrom (dados ByteBuffer) |
SavedResource estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource estático | parseFrom (com.google.protobuf.CodedInputStream input) |
SavedResource estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource estático | parseFrom (com.google.protobuf.ByteString data) |
SavedResource estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
SavedResource.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int DEVICE_FIELD_NUMBER
Valor Constante: 1
Métodos Públicos
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String 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;
público getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static SavedResource parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SavedResource parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SavedResource parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static SavedResource parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
IOException |
---|
public static SavedResource parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static SavedResource parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static SavedResource parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SavedResource parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|