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

#include <TestDataFullyConnectedBase.h>

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

Public Member Functions

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::TestDataFullyConnectedBase< T >

Definition at line 27 of file TestDataFullyConnectedBase.h.

Member Function Documentation

◆ get_input_data_by_index()

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

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

Definition at line 32 of file TestDataFullyConnectedBase.h.

33 {
34 switch (i)
35 {
36 case 0:
37 return _input_data;
38 default:
39 assert(false && "Wrong input index");
40 }
41 }

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

◆ get_model_ptr()

◆ get_output_data_by_index()

template<typename T >
const std::vector< T > & onert_micro::test_model::TestDataFullyConnectedBase< 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: