Compute Library
18.03
|
Numpy Binary loader class. More...
#include <GraphUtils.h>
Public Member Functions | |
NumPyBinLoader (std::string filename) | |
Default Constructor. More... | |
NumPyBinLoader (NumPyBinLoader &&)=default | |
Allows instances to move constructed. More... | |
bool | access_tensor (ITensor &tensor) override |
Interface to be implemented to access a given tensor. More... | |
![]() | |
virtual | ~ITensorAccessor ()=default |
Default virtual destructor. More... | |
Numpy Binary loader class.
Definition at line 194 of file GraphUtils.h.
NumPyBinLoader | ( | std::string | filename | ) |
Default Constructor.
filename | Binary file name |
Definition at line 328 of file GraphUtils.cpp.
|
default |
Allows instances to move constructed.
|
overridevirtual |
Interface to be implemented to access a given tensor.
[in] | tensor | Tensor to be accessed |
Implements ITensorAccessor.
Definition at line 333 of file GraphUtils.cpp.
References ARM_COMPUTE_ERROR_ON_MSG, ITensor::buffer(), ITensorInfo::data_type(), ITensorInfo::element_size(), BorderSize::empty(), arm_compute::execute_window_loop(), arm_compute::utils::get_typestring(), header, ITensor::info(), Dimensions< T >::num_dimensions(), ITensorInfo::padding(), ITensor::ptr_to_element(), arm_compute::test::validation::shape, ITensorInfo::tensor_shape(), ITensorInfo::total_size(), and Window::use_tensor_dimensions().