ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert_micro::test_model::TestDataTransposeKernel< T > Class Template Reference

#include <TransposeKernel.h>

Collaboration diagram for onert_micro::test_model::TestDataTransposeKernel< T >:

Public Member Functions

 TestDataTransposeKernel ()
 
 ~TestDataTransposeKernel () override=default
 
const unsigned char * get_model_ptr () override final
 
const std::vector< T > & get_input_data_by_index (int i) override final
 
const std::vector< T > & get_output_data_by_index (int i) override final
 
- Public Member Functions inherited from onert_micro::test_model::TestDataBase< T, U >
virtual ~TestDataBase ()=default
 

Protected Attributes

std::vector< T > _input_data
 
std::vector< T > _reference_output_data
 
const unsigned char * _test_kernel_model_circle
 

Detailed Description

template<typename T>
class onert_micro::test_model::TestDataTransposeKernel< T >

Definition at line 82 of file TransposeKernel.h.

Constructor & Destructor Documentation

◆ TestDataTransposeKernel()

template<typename T >
onert_micro::test_model::TestDataTransposeKernel< T >::TestDataTransposeKernel ( )
inline

Definition at line 85 of file TransposeKernel.h.

References onert_micro::test_model::TestDataTransposeKernel< T >::_input_data, onert_micro::test_model::TestDataTransposeKernel< T >::_reference_output_data, onert_micro::test_model::TestDataTransposeKernel< T >::_test_kernel_model_circle, onert_micro::test_model::transpose_kernel::input_data, onert_micro::test_model::transpose_kernel::reference_output_data, and onert_micro::test_model::transpose_kernel::test_kernel_model_circle.

◆ ~TestDataTransposeKernel()

template<typename T >
onert_micro::test_model::TestDataTransposeKernel< T >::~TestDataTransposeKernel ( )
overridedefault

Member Function Documentation

◆ get_input_data_by_index()

template<typename T >
const std::vector< T > & onert_micro::test_model::TestDataTransposeKernel< T >::get_input_data_by_index ( int  i)
inlinefinaloverridevirtual

Implements onert_micro::test_model::TestDataBase< T, U >.

Definition at line 96 of file TransposeKernel.h.

97 {
98 switch (i)
99 {
100 case 0:
101 return _input_data;
102 default:
103 assert(false && "Wrong input index");
104 }
105 }

References onert_micro::test_model::TestDataTransposeKernel< T >::_input_data.

◆ get_model_ptr()

template<typename T >
const unsigned char * onert_micro::test_model::TestDataTransposeKernel< T >::get_model_ptr ( )
inlinefinaloverridevirtual

◆ get_output_data_by_index()

template<typename T >
const std::vector< T > & onert_micro::test_model::TestDataTransposeKernel< T >::get_output_data_by_index ( int  i)
inlinefinaloverridevirtual

Field Documentation

◆ _input_data

◆ _reference_output_data

◆ _test_kernel_model_circle


The documentation for this class was generated from the following file: