24 #ifndef __ARM_COMPUTE_TEST_GC_HELPER_H__ 25 #define __ARM_COMPUTE_TEST_GC_HELPER_H__ 64 constexpr
unsigned int num_channels = 1;
89 std::cout << name <<
":" << std::endl;
90 std::cout << s.str().c_str();
Subclass of SimpleTensor using uint8_t as value type.
void map(bool blocking=true)
Map on an allocated buffer.
void unmap()
Unmap an allocated and mapped buffer.
Interface for GLES Compute tensor.
TensorShape shape() const override
Shape of the tensor.
Interface for NEON tensor.
Interface for OpenGL ES tensor.
src info() -> set_format(Format::S16)
This file contains all available output stages for GEMMLowp on OpenCL.
ITensorAllocator * allocator()
Return a pointer to the tensor's allocator.
std::unique_ptr< AssetsLibrary > library
GCTensor create_tensor(const TensorShape &shape, DataType data_type, int num_channels=1, int fixed_point_position=0)
Helper to create an empty tensor.
void print_tensor(ITensor &tensor, const std::string &name, IOFormatInfo info=IOFormatInfo(IOFormatInfo::PrintRegion::Full))
Helper to print tensor.
void init(const TensorInfo &input)
Initialize a tensor based on the passed TensorInfo.
Store the tensor's metadata.
DataType
Available data types.
void print(std::ostream &s, IOFormatInfo io_fmt=IOFormatInfo()) const
Print a tensor to a given stream using user defined formatting information.