Allocator构造函数和析构函数

产品支持情况

产品

是否支持

Atlas A3 训练系列产品/Atlas A3 推理系列产品

Atlas A2 训练系列产品/Atlas A2 推理系列产品

头文件

#include <ge/ge_allocator.h>

功能说明

Allocator构造函数和析构函数。

函数原型

Allocator() = default
virtual ~Allocator() = default
Allocator(const Allocator &) = delete
Allocator &operator=(const Allocator &) = delete

参数说明

返回值说明

约束说明

纯虚类需要用户派生。