Print

Product Support

Product

Supported

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

√

Atlas inference product's AI Core

√

Atlas inference product's Vector Core

√

Atlas training products

√

Function

Prints LocalTensor data in the debugging window for precision debugging. Each line contains one data block (32 bytes). This API is used only for CPU debugging.

Prototype

1
2
inline void Print()
inline void Print(uint32_t len)

Parameters

Table 1 Parameters

Parameter

Input/Output

Description

len

Input

Number of elements to be printed.

Returns

None

Restrictions

None

Example

For details, see Example.