SetSubType

Applicability

Product

Supported

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

Description

Sets the type of a scope after it matches a fusion pattern.

Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

1
2
ScopePattern &SetSubType(const std::string &sub_type);
ScopePattern &SetSubType(const char_t *sub_type);

Parameters

Parameter

Input/Output

Description

sub_type

Input

Scope subtype name

Returns

Parameter

Description

-

Reference to the current object

Restrictions

None