Pattern Constructor and Destructor

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 <ge/fusion/pattern.h>
  • Library file: libge_compiler.so

Function Usage

Use a graph to define a matching pattern.

Prototype

1
2
explicit Pattern(Graph &&pattern_graph)
~Pattern()

Parameters

Parameter

Input/Output

Description

pattern_graph

Input

Pattern graph definition. After a pattern is constructed, its life cycle is managed by the pattern object.

Returns

None

Restrictions

None