blace.ai
blace::ops::ZerosOp Class Reference

#include <public_ops.h>

Inheritance diagram for blace::ops::ZerosOp:

Public Member Functions

 ZerosOp (std::vector< int64_t > sizes, ml_core::OrderEnum order, ml_core::DeviceEnum device, ml_core::DataTypeEnum data_type, ml_core::ColorFormatEnum color_format)
 
 ZerosOp (ZerosOp const &e)
 

Detailed Description

Operator to construct an empty tensor.

Constructor & Destructor Documentation

◆ ZerosOp() [1/2]

blace::ops::ZerosOp::ZerosOp ( std::vector< int64_t >  sizes,
ml_core::OrderEnum  order,
ml_core::DeviceEnum  device,
ml_core::DataTypeEnum  data_type,
ml_core::ColorFormatEnum  color_format 
)

Operator to construct an empty tensor.

Parameters
sizesThe sizes of the tensor.
orderTensor order.
deviceDevice to construct the tensor on.
data_typeTensor daty type.
color_formatTensor color format.

◆ ZerosOp() [2/2]

blace::ops::ZerosOp::ZerosOp ( ZerosOp const &  e)

Default copy constructor explicitly defined for dll exporting.

Parameters
eThe copy class.