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

#include <TransposeKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::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 luci_interpreter::test_kernel::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 luci_interpreter::test_kernel::TestDataTransposeKernel< T >

Definition at line 81 of file TransposeKernel.h.

Constructor & Destructor Documentation

◆ TestDataTransposeKernel()

template<typename T >
luci_interpreter::test_kernel::TestDataTransposeKernel< T >::TestDataTransposeKernel ( )
inline

Definition at line 84 of file TransposeKernel.h.

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

◆ ~TestDataTransposeKernel()

template<typename T >
luci_interpreter::test_kernel::TestDataTransposeKernel< T >::~TestDataTransposeKernel ( )
overridedefault

Member Function Documentation

◆ get_input_data_by_index()

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

Implements luci_interpreter::test_kernel::TestDataBase< T, U >.

Definition at line 95 of file TransposeKernel.h.

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

References luci_interpreter::test_kernel::TestDataTransposeKernel< T >::_input_data.

◆ get_model_ptr()

template<typename T >
const unsigned char * luci_interpreter::test_kernel::TestDataTransposeKernel< T >::get_model_ptr ( )
inlinefinaloverridevirtual

◆ get_output_data_by_index()

template<typename T >
const std::vector< T > & luci_interpreter::test_kernel::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: