ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert_micro::test_model::TestDataQuantLess Class Reference

#include <QuantLessKernel.h>

Collaboration diagram for onert_micro::test_model::TestDataQuantLess:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from onert_micro::test_model::TestDataLessBase< T, U >
std::vector< T > _input1_data
 
std::vector< T > _input2_data
 
std::vector< U > _reference_output_data
 
const unsigned char * _test_kernel_model_circle
 

Detailed Description

Definition at line 121 of file QuantLessKernel.h.

Constructor & Destructor Documentation

◆ TestDataQuantLess()

onert_micro::test_model::TestDataQuantLess::TestDataQuantLess ( bool  is_with_broadcast,
bool  is_neg 
)
inlineexplicit

Definition at line 124 of file QuantLessKernel.h.

125 : TestDataLessBase<uint8_t, bool>(is_with_broadcast)
126 {
127 if (is_with_broadcast)
128 {
129 assert(false && "Not impl yet");
130 }
131 else
132 {
133 if (is_neg)
134 {
139 }
140 else
141 {
146 }
147 }
148 }

References onert_micro::test_model::TestDataLessBase< T, U >::_input1_data, onert_micro::test_model::TestDataLessBase< T, U >::_input2_data, onert_micro::test_model::TestDataLessBase< T, U >::_reference_output_data, onert_micro::test_model::TestDataLessBase< T, U >::_test_kernel_model_circle, onert_micro::test_model::less_uint8_with_no_broadcasting::input1_data, onert_micro::test_model::neg_less_uint8_with_no_broadcasting::input1_data, onert_micro::test_model::less_uint8_with_no_broadcasting::input2_data, onert_micro::test_model::neg_less_uint8_with_no_broadcasting::input2_data, onert_micro::test_model::less_uint8_with_no_broadcasting::reference_output_data, onert_micro::test_model::neg_less_uint8_with_no_broadcasting::reference_output_data, onert_micro::test_model::less_uint8_with_no_broadcasting::test_kernel_model_circle, and onert_micro::test_model::neg_less_uint8_with_no_broadcasting::test_kernel_model_circle.

◆ ~TestDataQuantLess()

onert_micro::test_model::TestDataQuantLess::~TestDataQuantLess ( )
overridedefault

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