SetMarks

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

#include <graph/inference_context.h>

Function Usage

Sets the marks for resource operator pairs in the inference context.

Prototype

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

1
2
void SetMarks(const std::vector<std::string> &marks)
void SetMarks(const std::vector<AscendString> &marks)

Parameters

Parameter

Input/Output

Description

marks

Input

Marks of resource operators.

Returns

None

Exception Handling

None

Constraints

None