abacusai.memory_options
Classes
Includes the memory specs of the CPU/GPU |
|
The overall memory options for executing a job |
Module Contents
- class abacusai.memory_options.CpuGpuMemorySpecs(client, default=None, data=None)
Bases:
abacusai.return_class.AbstractApiClassIncludes the memory specs of the CPU/GPU
- Parameters:
- __repr__()
Return repr(self).
- class abacusai.memory_options.AbstractApiClass(client, id)
- __eq__(other)
Return self==value.
- _get_attribute_as_dict(attribute)
- class abacusai.memory_options.MemoryOptions(client, cpu={}, gpu={})
Bases:
abacusai.return_class.AbstractApiClassThe overall memory options for executing a job
- Parameters:
client (ApiClient) – An authenticated API Client instance
cpu (CpuGpuMemorySpecs) – Contains information about the default CPU and list of CPU memory & size options
gpu (CpuGpuMemorySpecs) – Contains information about the default GPU and list of GPU memory & size options
- __repr__()
Return repr(self).