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

#include <FloatEqualKernel.h>

Collaboration diagram for onert_micro::test_model::TestDataFloatEqual:

Public Member Functions

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

Constructor & Destructor Documentation

◆ TestDataFloatEqual()

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

Definition at line 236 of file FloatEqualKernel.h.

237 : TestDataEqualBase<float, bool>(is_with_broadcast)
238 {
239 if (not is_with_broadcast)
240 {
241 if (is_neg)
242 {
247 }
248 else
249 {
254 }
255 }
256 else
257 {
258 if (is_neg)
259 {
264 }
265 else
266 {
271 }
272 }
273 }

References onert_micro::test_model::TestDataEqualBase< T, U >::_input1_data, onert_micro::test_model::TestDataEqualBase< T, U >::_input2_data, onert_micro::test_model::TestDataEqualBase< T, U >::_reference_output_data, onert_micro::test_model::TestDataEqualBase< T, U >::_test_kernel_model_circle, onert_micro::test_model::neg_equal_float_with_no_broadcasting::input1_data, onert_micro::test_model::equal_float_with_no_broadcasting::input1_data, onert_micro::test_model::equal_float_with_broadcasting::input1_data, onert_micro::test_model::neg_equal_float_with_broadcasting::input1_data, onert_micro::test_model::neg_equal_float_with_no_broadcasting::input2_data, onert_micro::test_model::equal_float_with_no_broadcasting::input2_data, onert_micro::test_model::equal_float_with_broadcasting::input2_data, onert_micro::test_model::neg_equal_float_with_broadcasting::input2_data, onert_micro::test_model::neg_equal_float_with_no_broadcasting::reference_output_data, onert_micro::test_model::equal_float_with_no_broadcasting::reference_output_data, onert_micro::test_model::equal_float_with_broadcasting::reference_output_data, onert_micro::test_model::neg_equal_float_with_broadcasting::reference_output_data, onert_micro::test_model::neg_equal_float_with_no_broadcasting::test_kernel_model_circle, onert_micro::test_model::equal_float_with_no_broadcasting::test_kernel_model_circle, onert_micro::test_model::equal_float_with_broadcasting::test_kernel_model_circle, and onert_micro::test_model::neg_equal_float_with_broadcasting::test_kernel_model_circle.

◆ ~TestDataFloatEqual()

onert_micro::test_model::TestDataFloatEqual::~TestDataFloatEqual ( )
overridedefault

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