set_data_pos

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

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.