Constructor and Destructor

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Header File/Library File

  • Header file: #include <register/op_lib_register.h>
  • Library file: libregister.so

Function Usage

Constructs and destructs an object of class OpLibRegister.

Prototype

1
2
3
4
5
6
explicit OpLibRegister(const char_t *vendor_name)
OpLibRegister(OpLibRegister &&other) noexcept
OpLibRegister(const OpLibRegister &other)
OpLibRegister &operator=(const OpLibRegister &) = delete
OpLibRegister &operator=(OpLibRegister &&) = delete
~OpLibRegister()

Parameters

Parameter

Input/Output

Description

vendor_name

Input

Vendor name of the custom operator.

other

Input

Another object of class OpLibRegister.

Returns

Object of class OpLibRegister.

Restrictions

None