MatchResult 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/match_result.h>
  • Library file: libge_compiler.so

Function Usage

Constructs or destructs an object of class MatchResult.

It defines the matching result that satisfies the pattern. The input parameter is Pattern. In MatchResult, Matched Node indicates the nodes matched based on Pattern Node.

Prototype

1
2
3
4
5
6
explicit MatchResult(const Pattern *pattern);
MatchResult(const MatchResult &other) noexcept;
MatchResult(MatchResult &&other) noexcept;
MatchResult &operator=(const MatchResult &other) noexcept;
MatchResult &operator=(MatchResult &&other) noexcept ;
~MatchResult();

Parameters

Parameter

Input/Output

Description

pattern

Input

Pattern definition.

Returns

None

Exception Handling

None

Restrictions

None