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

#include <SplitVKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::TestDataSplitVKernel< T >:

Public Member Functions

 TestDataSplitVKernel ()
 
 ~TestDataSplitVKernel () 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_1
 
std::vector< T > _reference_output_data_2
 
std::vector< T > _reference_output_data_3
 
const unsigned char * _test_kernel_model_circle
 

Detailed Description

template<typename T>
class luci_interpreter::test_kernel::TestDataSplitVKernel< T >

Definition at line 94 of file SplitVKernel.h.

Constructor & Destructor Documentation

◆ TestDataSplitVKernel()

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

Definition at line 97 of file SplitVKernel.h.

98 {
104 }
const std::vector< float > reference_output_data_3
const std::vector< float > reference_output_data_2
const std::vector< float > reference_output_data_1

References luci_interpreter::test_kernel::TestDataSplitVKernel< T >::_input_data, luci_interpreter::test_kernel::TestDataSplitVKernel< T >::_reference_output_data_1, luci_interpreter::test_kernel::TestDataSplitVKernel< T >::_reference_output_data_2, luci_interpreter::test_kernel::TestDataSplitVKernel< T >::_reference_output_data_3, luci_interpreter::test_kernel::TestDataSplitVKernel< T >::_test_kernel_model_circle, luci_interpreter::test_kernel::split_v_kernel::input_data, luci_interpreter::test_kernel::split_v_kernel::reference_output_data_1, luci_interpreter::test_kernel::split_v_kernel::reference_output_data_2, luci_interpreter::test_kernel::split_v_kernel::reference_output_data_3, and luci_interpreter::test_kernel::split_v_kernel::test_kernel_model_circle.

◆ ~TestDataSplitVKernel()

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

Member Function Documentation

◆ get_input_data_by_index()

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

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

Definition at line 110 of file SplitVKernel.h.

111 {
112 switch (i)
113 {
114 case 0:
115 return _input_data;
116 default:
117 assert(false && "Wrong input index");
118 }
119 }

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

◆ get_model_ptr()

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

◆ get_output_data_by_index()

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

Field Documentation

◆ _input_data

◆ _reference_output_data_1

◆ _reference_output_data_2

◆ _reference_output_data_3

◆ _test_kernel_model_circle


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