StreamPassContext Constructor and Destructor

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Header File/Library File

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

Function Usage

Constructs and destructs an object of class StreamPassContext.

Prototype

1
2
explicit StreamPassContext(int64_t current_max_stream_id)
~StreamPassContext() override = default

Parameters

Parameter

Input/Output

Description

current_max_stream_id

Input

Maximum stream ID in the current graph.

Returns

None

Constraints

None