cvedia::rt::Tensor¶
Public Functions¶
| Name | |
|---|---|
| Tensor() =default | |
| Tensor(xt::xarray< float > & t) | |
| Tensor(xt::xarray< uint8_t > & t) | |
| Tensor(xt::xarray< double > & t) | |
| Tensor(Tensor const & other) =delete | |
| Tensor & | operator=(Tensor const & other) =delete |
| Tensor(Tensor && other) | |
| Tensor & | operator=(Tensor && other) =delete |
| void | moveFrom(xt::xarray< float > & t) |
| void | moveFrom(xt::xarray< uint8_t > & t) |
| void | moveFrom(xt::xarray< double > & t) |
| void | copyFrom(xt::xarray< float > const & t) |
| void | copyFrom(xt::xarray< uint8_t > const & t) |
| void | copyFrom(xt::xarray< double > const & t) |
| template <typename T > xt::xarray< T > & |
move() |
| bool | wasFloat() const |
| xt::xarray< uint8_t > & | move() |
Public Functions Documentation¶
function Tensor¶
Tensor() =default
function Tensor¶
Tensor(
xt::xarray< float > & t
)
function Tensor¶
Tensor(
xt::xarray< uint8_t > & t
)
function Tensor¶
Tensor(
xt::xarray< double > & t
)
function Tensor¶
Tensor(
Tensor const & other
) =delete
function operator=¶
Tensor & operator=(
Tensor const & other
) =delete
function Tensor¶
Tensor(
Tensor && other
)
function operator=¶
Tensor & operator=(
Tensor && other
) =delete
function moveFrom¶
void moveFrom(
xt::xarray< float > & t
)
function moveFrom¶
void moveFrom(
xt::xarray< uint8_t > & t
)
function moveFrom¶
void moveFrom(
xt::xarray< double > & t
)
function copyFrom¶
void copyFrom(
xt::xarray< float > const & t
)
function copyFrom¶
void copyFrom(
xt::xarray< uint8_t > const & t
)
function copyFrom¶
void copyFrom(
xt::xarray< double > const & t
)
function move¶
template <typename T >
xt::xarray< T > & move()
function wasFloat¶
inline bool wasFloat() const
function move¶
xt::xarray< uint8_t > & move()