Public final class 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 de
tensorflow.SavedResource
Clases anidadas
clase | SavedResource.Builder | A SavedResource represents a TF object that holds state during its lifetime. |
Constantes
En t | DEVICE_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
recurso guardado estático | |
Recurso guardado | |
com.google.protobuf.Descriptors.Descriptor estático final | |
Cuerda | 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. |
En t | |
final com.google.protobuf.UnknownFieldSet | |
En t | hashCode () |
booleano final | |
static SavedResource.Builder | newBuilder () |
static SavedResource.Builder | newBuilder (prototipo de recurso guardado ) |
SavedResource.Builder | |
recurso guardado estático | parseDelimitedFrom (entrada InputStream) |
recurso guardado estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
recurso guardado estático | parseFrom (datos ByteBuffer) |
recurso guardado estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
recurso guardado estático | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
recurso guardado estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
recurso guardado estático | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
recurso guardado estático | parseFrom (datos com.google.protobuf.ByteString) |
recurso guardado estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
recurso guardado estático | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
SavedResource.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int DEVICE_FIELD_NUMBER
Valor constante: 1
Métodos públicos
public boolean es igual a (Object obj)
público estático 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)
Lanza
IOException |
---|
public static SavedResource parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static SavedResource parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static SavedResource parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
public static SavedResource parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
Public static SavedResource parseFrom (datos de com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
public static SavedResource parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
Public static SavedResource parseFrom (datos de com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|