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

Function Usage

Uses the pattern graph for pattern matching.

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

Constraints

None