qbruntime.type.CoreId Class Reference#
|
SDK qb Runtime Library v1.2
MCS001-EN
|
qbruntime.type.CoreId Class Reference
Represents a unique identifier for an NPU core. More...
Public Member Functions | |
| __init__ (self, Cluster cluster, Core core) | |
| from_cpp (cls, _cQbRuntime.CoreId _core_id) | |
| Cluster | cluster (self) |
| Core | core (self) |
| cluster (self, Cluster value) | |
| core (self, Core value) | |
| bool | __eq__ (self, other) |
| Checks if two CoreId objects are equal. | |
| bool | __lt__ (self, other) |
| Compares two CoreId objects for ordering. | |
| __repr__ (self) | |
Protected Attributes | |
| _core_id = _cQbRuntime.CoreId() | |
Detailed Description
Represents a unique identifier for an NPU core.
A CoreId consists of a Cluster and a Core, identifying a specific core within an NPU.
Constructor & Destructor Documentation
◆ __init__()
Member Function Documentation
◆ from_cpp()
| qbruntime.type.CoreId.from_cpp | ( | cls, | |
| _cQbRuntime.CoreId | _core_id ) |
◆ cluster() [1/2]
◆ core() [1/2]
◆ cluster() [2/2]
◆ core() [2/2]
◆ __eq__()
| bool qbruntime.type.CoreId.__eq__ | ( | self, | |
| other ) |
◆ __lt__()
| bool qbruntime.type.CoreId.__lt__ | ( | self, | |
| other ) |
◆ __repr__()
Member Data Documentation
◆ _core_id
|
protected |
The documentation for this class was generated from the following file:
Generated by