Skip to content

internal::NDArrayData

#include <qbruntime/ndarray.h>

class mobilint::internal::NDArrayData

A class representing the data underlying an NDArray.

This class is responsible for holding the raw memory buffer or pointer for an NDArray. It is an internal implementation detail and is not intended for direct use by external code.

Do not use this class directly; please use NDArray instead.

Member functions

Member Description
NDArrayData ×6
operator= ×2
data

NDArrayData

NDArrayData()=default
NDArrayData(int64_t bytesize, StatusCode &sc)
NDArrayData(std::shared_ptr<void> data)
NDArrayData(void *ptr)
NDArrayData(const NDArrayData &other)=default
NDArrayData(NDArrayData &&other) noexcept=default

operator=

NDArrayData & operator=(const NDArrayData &other)
NDArrayData & operator=(NDArrayData &&other) noexcept=default

data

void * data() const