Name

Applicable Products

Product

Supported

Ascend 950PR&950DT products

√

Atlas A3 products

√

Atlas A2 products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

√

Description

Obtains the name of a scope.

Prototype

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

1
2
const std::string &Name() const;
Status Name(AscendString &name) const;

Parameters

Parameter

Input/Output

Description

name

Output

Scope name

Returns

Parameter

Description

-

Scope name

Restrictions

None