MatchResult 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/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

Constraints

None