aclmdlRIDebugPrint

Note: This API is for trial use and may be changed in later versions. It is not available in commercial products.

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Description

Prints internal model information in maintenance and test scenarios. The model information includes the device ID, stream ID, and task ID.

Prototype

1
aclError aclmdlRIDebugPrint(aclmdlRI modelRI)

Parameters

Parameter

Input/Output

Description

modelRI

Input

Running instance of the model that is used to temporarily store the captured tasks. For details about the type definition, see aclmdlRI.

Model information can be printed only after aclmdlRICaptureEnd is called. The model running instance output by aclmdlRICaptureEnd is passed as an input parameter. Ensure that the value of modelRI is valid.

Returns

0 on success; otherwise, failure. For details, see aclError.