GetMarks

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

Obtains 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
const std::vector<std::string> &GetMarks() const
void GetMarks(std::vector<AscendString> &marks) const

Parameters

Parameter

Input/Output

Description

marks

Output

Marks of resource operators.

Returns

Marks of resource operators.

Exception Handling

None

Constraints

None