GPUOptions.Experimental.VirtualDevices de clase final estática pública
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
Clases anidadas
clase | GPUOptions.Experimental.VirtualDevices.Builder | Configuration for breaking down a visible GPU into multiple "virtual" devices. |
Constantes
entero | MEMORY_LIMIT_MB_FIELD_NUMBER | |
entero | PRIORITY_FIELD_NUMBER |
Métodos públicos
booleano | es igual (Objeto obj) |
Opciones de GPU estáticas.Experimental.VirtualDevices | |
GPUOptions.Experimental.VirtualDevices | |
com.google.protobuf.Descriptors.Descriptor estático final | |
flotar | getMemoryLimitMb (índice int) Per "virtual" device memory limit, in MB. |
entero | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Lista<flotante> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
entero | getPriority (índice int) Priority values to use with the virtual devices. |
entero | getPriorityCount () Priority values to use with the virtual devices. |
Lista<Entero> | obtenerListaDePrioridades () Priority values to use with the virtual devices. |
entero | |
com.google.protobuf.UnknownFieldSet final | |
entero | código hash () |
booleano final | |
GPUOptions.Experimental.VirtualDevices.Builder estático | |
GPUOptions.Experimental.VirtualDevices.Builder estático | newBuilder (prototipo GPUOptions.Experimental.VirtualDevices ) |
GPUOptions.Experimental.VirtualDevices.Builder | |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseDelimitedFrom (entrada de InputStream) |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseFrom (datos de ByteBuffer) |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseFrom (entrada com.google.protobuf.CodedInputStream) |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseFrom (datos com.google.protobuf.ByteString) |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opciones de GPU estáticas.Experimental.VirtualDevices | parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
estático | analizador () |
GPUOptions.Experimental.VirtualDevices.Builder | |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
int final estático público MEMORY_LIMIT_MB_FIELD_NUMBER
Valor constante: 1
int final estático público PRIORITY_FIELD_NUMBER
Valor constante: 2
Métodos públicos
público booleano es igual (Objeto obj)
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
getMemoryLimitMb flotante público (índice int)
Per "virtual" device memory limit, in MB. The number of elements in the list is the number of virtual devices to create on the corresponding visible GPU (see "virtual_devices" below). If empty, it will create single virtual device taking all available memory from the device. For the concept of "visible" and "virtual" GPU, see the comments for "visible_device_list" above for more information.
repeated float memory_limit_mb = 1;
público int getMemoryLimitMbCount ()
Per "virtual" device memory limit, in MB. The number of elements in the list is the number of virtual devices to create on the corresponding visible GPU (see "virtual_devices" below). If empty, it will create single virtual device taking all available memory from the device. For the concept of "visible" and "virtual" GPU, see the comments for "visible_device_list" above for more information.
repeated float memory_limit_mb = 1;
Lista pública<Float> getMemoryLimitMbList ()
Per "virtual" device memory limit, in MB. The number of elements in the list is the number of virtual devices to create on the corresponding visible GPU (see "virtual_devices" below). If empty, it will create single virtual device taking all available memory from the device. For the concept of "visible" and "virtual" GPU, see the comments for "visible_device_list" above for more information.
repeated float memory_limit_mb = 1;
público getParserForType ()
público int getPriority (índice int)
Priority values to use with the virtual devices. Use the cuda function cudaDeviceGetStreamPriorityRange to query for valid range of values for priority. On a P4000 GPU with cuda 10.1, the priority range reported was 0 for least priority and -1 for greatest priority. If this field is not specified, then the virtual devices will be created with the default. If this field has values set, then the size of this must match with the above memory_limit_mb.
repeated int32 priority = 2;
public int getPriorityCount ()
Priority values to use with the virtual devices. Use the cuda function cudaDeviceGetStreamPriorityRange to query for valid range of values for priority. On a P4000 GPU with cuda 10.1, the priority range reported was 0 for least priority and -1 for greatest priority. If this field is not specified, then the virtual devices will be created with the default. If this field has values set, then the size of this must match with the above memory_limit_mb.
repeated int32 priority = 2;
Lista pública<Entero> getPriorityList ()
Priority values to use with the virtual devices. Use the cuda function cudaDeviceGetStreamPriorityRange to query for valid range of values for priority. On a P4000 GPU with cuda 10.1, the priority range reported was 0 for least priority and -1 for greatest priority. If this field is not specified, then the virtual devices will be created with the default. If this field has values set, then the size of this must match with the above memory_limit_mb.
repeated int32 priority = 2;
público int getSerializedSize ()
público final com.google.protobuf.UnknownFieldSet getUnknownFields ()
código hash int público ()
público final booleano isInitialized ()
GPUOptions.Experimental.VirtualDevices.Builder estático público newBuilder (prototipo GPUOptions.Experimental.VirtualDevices )
GPUOptions.Experimental.VirtualDevices estático público parseDelimitedFrom (entrada de InputStream)
Lanza
IOExcepción |
---|
GPUOptions.Experimental.VirtualDevices estático público parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
GPUOptions.Experimental.VirtualDevices parseFrom (datos ByteBuffer) estáticos públicos
Lanza
Excepción de buffer de protocolo no válido |
---|
GPUOptions.Experimental.VirtualDevices parseFrom público estático (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
GPUOptions.Experimental.VirtualDevices estático público parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
Excepción de buffer de protocolo no válido |
---|
GPUOptions.Experimental.VirtualDevices parseFrom estático público (entrada com.google.protobuf.CodedInputStream)
Lanza
IOExcepción |
---|
GPUOptions.Experimental.VirtualDevices estático público parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
Excepción de buffer de protocolo no válido |
---|
GPUOptions.Experimental.VirtualDevices parseFrom (datos com.google.protobuf.ByteString) estáticos públicos
Lanza
Excepción de buffer de protocolo no válido |
---|
GPUOptions.Experimental.VirtualDevices estático público parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
GPUOptions.Experimental.VirtualDevices estático público parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
Excepción de buffer de protocolo no válido |
---|
estática pública analizador ()
escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOExcepción |
---|