CoreId¶
Represents a unique identifier for an NPU core.
A CoreId consists of a Cluster and a Core, identifying a specific core within an NPU.
Attributes¶
| Name | Description |
|---|---|
cluster |
|
core |
cluster¶
core¶
Methods¶
| Name | Description |
|---|---|
__init__ |
|
from_cpp |
|
__eq__ |
Checks if two CoreId objects are equal. |
__lt__ |
Compares two CoreId objects for ordering. |
__repr__ |
__init__¶
from_cpp¶
__eq__¶
Checks if two CoreId objects are equal.
Returns
True if both CoreId objects are identical, False otherwise.
__lt__¶
Compares two CoreId objects for ordering.
Returns
True if this CoreId is less than the given CoreId, False otherwise.