SetPassName

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

Header File/Library File

  • Header file: #include <register/register_custom_pass.h>
  • Library file: libregister.so

Function Usage

Sets the name of a custom pass.

Prototype

1
void SetPassName(const AscendString &pass_name)

Parameters

Parameter

Input/Output

Description

pass_name

Input

Pass name to be set.

Returns

None

Restrictions

None