aclGetCustomOpLibPath

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

x

Atlas inference products

Atlas training products

Header File

#include <register/register_base.h>

Function Usage

Obtains the path of the custom operator library.

This API is called by the internal framework and is called the internal association API. Developers do not directly call internal associated APIs.

Prototype

1
const char *aclGetCustomOpLibPath()

Parameters

None

Returns

Path of the custom operator library. Multiple paths are separated by colons (:). The paths are sorted based on the operator priority set by the user. The path with a higher priority is placed in front of the path with a lower priority.

For details about how to set the priority of custom operators, see Ascend C Operator Developer Guide.

Constraints

None

Examples

const char* path = aclGetCustomOpLibPath();