SetMarks
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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
Parent topic: InferenceContext