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

#include <FloatNotEqualKernel.h>

Collaboration diagram for onert_micro::test_model::TestDataFloatNotEqual:

Public Member Functions

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

Constructor & Destructor Documentation

◆ TestDataFloatNotEqual()

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

Definition at line 152 of file FloatNotEqualKernel.h.

153 : TestDataNotEqualBase<float, bool>(is_with_broadcast)
154 {
155 if (is_with_broadcast)
156 {
157 assert(false && "Not impl yet");
158 }
159 else
160 {
161 if (is_neg)
162 {
168 }
169 else
170 {
175 }
176 }
177 }
const std::vector< bool > reference_output_data

References onert_micro::test_model::TestDataNotEqualBase< T, U >::_input1_data, onert_micro::test_model::TestDataNotEqualBase< T, U >::_input2_data, onert_micro::test_model::TestDataNotEqualBase< T, U >::_reference_output_data, onert_micro::test_model::TestDataNotEqualBase< T, U >::_test_kernel_model_circle, onert_micro::test_model::not_equal_float::input1_data, onert_micro::test_model::neg_not_equal_float_with_no_broadcasting::input1_data, onert_micro::test_model::not_equal_float::input2_data, onert_micro::test_model::neg_not_equal_float_with_no_broadcasting::input2_data, onert_micro::test_model::not_equal_float::reference_output_data, onert_micro::test_model::neg_not_equal_float_with_no_broadcasting::reference_output_data, onert_micro::test_model::not_equal_float::test_kernel_model_circle, and onert_micro::test_model::neg_not_equal_float_with_no_broadcasting::test_kernel_model_circle.

◆ ~TestDataFloatNotEqual()

onert_micro::test_model::TestDataFloatNotEqual::~TestDataFloatNotEqual ( )
overridedefault

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