classe final estática pública GPUOptions.Experimental.VirtualDevices
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
Classes aninhadas
aula | GPUOptions.Experimental.VirtualDevices.Builder | Configuration for breaking down a visible GPU into multiple "virtual" devices. |
Constantes
interno | MEMORY_LIMIT_MB_FIELD_NUMBER | |
interno | PRIORITY_FIELD_NUMBER |
Métodos Públicos
booleano | é igual (objeto obj) |
GPUOptions estáticas.Experimental.VirtualDevices | |
GPUOptions.Experimental.VirtualDevices | |
final estático com.google.protobuf.Descriptors.Descriptor | |
flutuador | getMemoryLimitMb (índice interno) Per "virtual" device memory limit, in MB. |
interno | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Lista<flutuante> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
interno | getPriority (índice interno) Priority values to use with the virtual devices. |
interno | getPriorityCount () Priority values to use with the virtual devices. |
Lista<Inteiro> | getPriorityList () Priority values to use with the virtual devices. |
interno | |
final com.google.protobuf.UnknownFieldSet | |
interno | código hash () |
booleano final | |
GPUOptions.Experimental.VirtualDevices.Builder estático | |
GPUOptions.Experimental.VirtualDevices.Builder estático | newBuilder (protótipo GPUOptions.Experimental.VirtualDevices ) |
GPUOptions.Experimental.VirtualDevices.Builder | |
GPUOptions estáticas.Experimental.VirtualDevices | parseDelimitedFrom (entrada InputStream) |
GPUOptions estáticas.Experimental.VirtualDevices | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions estáticas.Experimental.VirtualDevices | parseFrom (dados de ByteBuffer) |
GPUOptions estáticas.Experimental.VirtualDevices | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions estáticas.Experimental.VirtualDevices | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions estáticas.Experimental.VirtualDevices | parseFrom (entrada com.google.protobuf.CodedInputStream) |
GPUOptions estáticas.Experimental.VirtualDevices | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions estáticas.Experimental.VirtualDevices | parseFrom (dados com.google.protobuf.ByteString) |
GPUOptions estáticas.Experimental.VirtualDevices | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions estáticas.Experimental.VirtualDevices | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
GPUOptions.Experimental.VirtualDevices.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int MEMORY_LIMIT_MB_FIELD_NUMBER
Valor Constante: 1
público estático final int PRIORITY_FIELD_NUMBER
Valor Constante: 2
Métodos Públicos
booleano público é igual (Object obj)
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
flutuador público getMemoryLimitMb (í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 ()
public 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;
público 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;
public List<Integer> 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 ()
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
hashCode int público ()
público final booleano isInitialized ()
público estático GPUOptions.Experimental.VirtualDevices.Builder newBuilder ( protótipo GPUOptions.Experimental.VirtualDevices )
GPUOptions.Experimental.VirtualDevices público estático parseDelimitedFrom (entrada InputStream)
Lança
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
GPUOptions.Experimental.VirtualDevices público estático parseFrom (dados ByteBuffer)
Lança
InvalidProtocolBufferException |
---|
GPUOptions.Experimental.VirtualDevices público estático parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
GPUOptions.Experimental.VirtualDevices público estático parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
GPUOptions.Experimental.VirtualDevices público estático parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
IOException |
---|
GPUOptions.Experimental.VirtualDevices público estático parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
GPUOptions.Experimental.VirtualDevices público estático parseFrom (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
GPUOptions.Experimental.VirtualDevices público estático parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
GPUOptions.Experimental.VirtualDevices público estático parseFrom (dados com.google.protobuf.ByteString, 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 |
---|