set_data_pos
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Sets the position of the output data in the weight matrix.
Prototype
1 | set_data_pos(self, pos: List[Tuple[int, int]]) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
pos |
Input |
Position of the output data in the weight matrix. For example, [(0, 0), (1, 0)]) indicates that two pieces of data are located in positions (0, 0) and (1, 0) of the weight matrix respectively. |
Returns
None
Exception Handling
None
Constraints
The coordinates of pos must be within the weight matrix.
Parent topic: Class BalanceConfig