GpuDevice¶
- class oci.cloud_migrations.models.GpuDevice(**kwargs)¶
Bases:
objectGPU device details.
Methods:
__init__(**kwargs)Initializes a new GpuDevice object with values from keyword arguments.
Attributes:
Gets the cores_count of this GpuDevice.
Gets the description of this GpuDevice.
Gets the manufacturer of this GpuDevice.
Gets the memory_in_mbs of this GpuDevice.
Gets the name of this GpuDevice.
- __init__(**kwargs)¶
Initializes a new GpuDevice object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this GpuDevice.
description (str) – The value to assign to the description property of this GpuDevice.
cores_count (int) – The value to assign to the cores_count property of this GpuDevice.
memory_in_mbs (int) – The value to assign to the memory_in_mbs property of this GpuDevice.
manufacturer (str) – The value to assign to the manufacturer property of this GpuDevice.
- property cores_count¶
Gets the cores_count of this GpuDevice. Number of GPU cores.
- Returns
The cores_count of this GpuDevice.
- Return type
int
- property description¶
Gets the description of this GpuDevice. GPU device description.
- Returns
The description of this GpuDevice.
- Return type
str
- property manufacturer¶
Gets the manufacturer of this GpuDevice. The manufacturer of GPU.
- Returns
The manufacturer of this GpuDevice.
- Return type
str
- property memory_in_mbs¶
Gets the memory_in_mbs of this GpuDevice. GPU memory size in MBs.
- Returns
The memory_in_mbs of this GpuDevice.
- Return type
int
- property name¶
Gets the name of this GpuDevice. GPU device name.
- Returns
The name of this GpuDevice.
- Return type
str