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

#include <FloatLessEqualKernel.h>

Collaboration diagram for onert_micro::test_model::TestDataFloatLessEqual:

Public Member Functions

 TestDataFloatLessEqual (bool is_with_broadcast, bool is_neg)
 
 ~TestDataFloatLessEqual () override=default
 
- Public Member Functions inherited from onert_micro::test_model::TestDataLessEqualBase< T, U >
 TestDataLessEqualBase (bool)
 
 TestDataLessEqualBase ()=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::TestDataLessEqualBase< 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 150 of file FloatLessEqualKernel.h.

Constructor & Destructor Documentation

◆ TestDataFloatLessEqual()

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

Definition at line 153 of file FloatLessEqualKernel.h.

154 : TestDataLessEqualBase<float, bool>(is_with_broadcast)
155 {
156 if (is_with_broadcast)
157 {
158 assert(false && "Not impl yet");
159 }
160 else
161 {
162 if (is_neg)
163 {
169 }
170 else
171 {
176 }
177 }
178 }

References onert_micro::test_model::TestDataLessEqualBase< T, U >::_input1_data, onert_micro::test_model::TestDataLessEqualBase< T, U >::_input2_data, onert_micro::test_model::TestDataLessEqualBase< T, U >::_reference_output_data, onert_micro::test_model::TestDataLessEqualBase< T, U >::_test_kernel_model_circle, onert_micro::test_model::less_equal_float::input1_data, onert_micro::test_model::neg_less_equal_float_with_no_broadcasting::input1_data, onert_micro::test_model::less_equal_float::input2_data, onert_micro::test_model::neg_less_equal_float_with_no_broadcasting::input2_data, onert_micro::test_model::less_equal_float::reference_output_data, onert_micro::test_model::neg_less_equal_float_with_no_broadcasting::reference_output_data, onert_micro::test_model::less_equal_float::test_kernel_model_circle, and onert_micro::test_model::neg_less_equal_float_with_no_broadcasting::test_kernel_model_circle.

◆ ~TestDataFloatLessEqual()

onert_micro::test_model::TestDataFloatLessEqual::~TestDataFloatLessEqual ( )
overridedefault

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