set_data_pos

Applicable Products

Product

Supported

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

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.