Init

Applicability

Product

Supported

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

Description

Initializes a Scope object.

Prototype

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

1
2
Status Init(const std::string &name, const std::string &sub_type = "", Scope *father_scope = nullptr);
Status Init(const char_t *name, const char_t *sub_type, Scope *father_scope = nullptr);

Parameters

Parameter

Input/Output

Description

name

Input

Scope name

sub_type

Input

Scope subtype name

father_scope

Input

Pointer to the parent scope

Returns

None

Restrictions

None