ModelDeploymentShapeSummary¶
-
class
oci.data_science.models.
ModelDeploymentShapeSummary
(**kwargs)¶ Bases:
object
The compute shape used to launch a model deployment compute instance.
Attributes
SHAPE_SERIES_AMD_ROME
A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. SHAPE_SERIES_ARM
A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. SHAPE_SERIES_GENERIC
A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. SHAPE_SERIES_INTEL_SKYLAKE
A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. SHAPE_SERIES_LEGACY
A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. SHAPE_SERIES_NVIDIA_GPU
A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. core_count
[Required] Gets the core_count of this ModelDeploymentShapeSummary. memory_in_gbs
[Required] Gets the memory_in_gbs of this ModelDeploymentShapeSummary. name
[Required] Gets the name of this ModelDeploymentShapeSummary. shape_series
[Required] Gets the shape_series of this ModelDeploymentShapeSummary. Methods
__init__
(**kwargs)Initializes a new ModelDeploymentShapeSummary object with values from keyword arguments. -
SHAPE_SERIES_AMD_ROME
= 'AMD_ROME'¶ A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. This constant has a value of “AMD_ROME”
-
SHAPE_SERIES_ARM
= 'ARM'¶ A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. This constant has a value of “ARM”
-
SHAPE_SERIES_GENERIC
= 'GENERIC'¶ A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. This constant has a value of “GENERIC”
-
SHAPE_SERIES_INTEL_SKYLAKE
= 'INTEL_SKYLAKE'¶ A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. This constant has a value of “INTEL_SKYLAKE”
-
SHAPE_SERIES_LEGACY
= 'LEGACY'¶ A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. This constant has a value of “LEGACY”
-
SHAPE_SERIES_NVIDIA_GPU
= 'NVIDIA_GPU'¶ A constant which can be used with the shape_series property of a ModelDeploymentShapeSummary. This constant has a value of “NVIDIA_GPU”
-
__init__
(**kwargs)¶ Initializes a new ModelDeploymentShapeSummary 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 ModelDeploymentShapeSummary.
- core_count (int) – The value to assign to the core_count property of this ModelDeploymentShapeSummary.
- memory_in_gbs (int) – The value to assign to the memory_in_gbs property of this ModelDeploymentShapeSummary.
- shape_series (str) – The value to assign to the shape_series property of this ModelDeploymentShapeSummary. Allowed values for this property are: “AMD_ROME”, “INTEL_SKYLAKE”, “NVIDIA_GPU”, “GENERIC”, “LEGACY”, “ARM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
core_count
¶ [Required] Gets the core_count of this ModelDeploymentShapeSummary. The number of cores associated with this model deployment shape.
Returns: The core_count of this ModelDeploymentShapeSummary. Return type: int
-
memory_in_gbs
¶ [Required] Gets the memory_in_gbs of this ModelDeploymentShapeSummary. The amount of memory in GBs associated with this model deployment shape.
Returns: The memory_in_gbs of this ModelDeploymentShapeSummary. Return type: int
-
name
¶ [Required] Gets the name of this ModelDeploymentShapeSummary. The name of the model deployment shape.
Returns: The name of this ModelDeploymentShapeSummary. Return type: str
-
shape_series
¶ [Required] Gets the shape_series of this ModelDeploymentShapeSummary. The family that the compute shape belongs to.
Allowed values for this property are: “AMD_ROME”, “INTEL_SKYLAKE”, “NVIDIA_GPU”, “GENERIC”, “LEGACY”, “ARM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The shape_series of this ModelDeploymentShapeSummary. Return type: str
-