|
ONE - On-device Neural Engine
|
#include <Tensor.h>

Public Member Functions | |
| template<loco::DataType DT> | |
| uint32_t | size (void) const |
| template<loco::DataType DT> | |
| void | size (uint32_t size) |
| template<loco::DataType DT> | |
| const loco::DataTypeImpl< DT >::Type & | at (uint32_t n) const |
| template<loco::DataType DT> | |
| loco::DataTypeImpl< DT >::Type & | at (uint32_t n) |
| uint8_t * | buffer (void) |
| uint32_t | byte_size (void) const |
Public Member Functions inherited from circle_eval_diff::TensorShape | |
| uint32_t | rank (void) const |
| void | rank (uint32_t value) |
| const loco::Dimension & | dim (uint32_t axis) const |
| loco::Dimension & | dim (uint32_t axis) |
| void | shape (std::initializer_list< uint32_t > dims) |
Public Member Functions inherited from circle_eval_diff::TensorDataType | |
| const loco::DataType & | dtype (void) const |
| void | dtype (const loco::DataType &dtype) |
| loco::DataTypeImpl< DT >::Type & Tensor::at | ( | uint32_t | n | ) |
Definition at line 65 of file Tensor.cpp.
References circle_eval_diff::TensorDataType::dtype(), and THROW_UNLESS.
| const loco::DataTypeImpl< DT >::Type & Tensor::at | ( | uint32_t | n | ) | const |
Definition at line 58 of file Tensor.cpp.
References circle_eval_diff::TensorDataType::dtype(), and THROW_UNLESS.
|
inline |
|
inline |
| void Tensor::size | ( | uint32_t | size | ) |
Definition at line 51 of file Tensor.cpp.
References circle_eval_diff::TensorDataType::dtype().
| uint32_t Tensor::size | ( | void | ) | const |
Definition at line 44 of file Tensor.cpp.
References circle_eval_diff::TensorDataType::dtype().