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

#include <IntEqualKernel.h>

Collaboration diagram for onert_micro::test_model::TestDataIntEqual:

Public Member Functions

 TestDataIntEqual (bool is_with_broadcast, bool is_neg)
 
 ~TestDataIntEqual () 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 231 of file IntEqualKernel.h.

Constructor & Destructor Documentation

◆ TestDataIntEqual()

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

Definition at line 234 of file IntEqualKernel.h.

235 : TestDataEqualBase<int32_t, bool>(is_with_broadcast)
236 {
237 if (is_with_broadcast)
238 {
239 if (is_neg)
240 {
245 }
246 else
247 {
252 }
253 }
254 else
255 {
256 if (is_neg)
257 {
262 }
263 else
264 {
269 }
270 }
271 }

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::equal_int_with_no_broadcasting::input1_data, onert_micro::test_model::neg_equal_int_with_no_broadcasting::input1_data, onert_micro::test_model::equal_int_with_broadcasting::input1_data, onert_micro::test_model::neg_equal_int_with_broadcasting::input1_data, onert_micro::test_model::equal_int_with_no_broadcasting::input2_data, onert_micro::test_model::neg_equal_int_with_no_broadcasting::input2_data, onert_micro::test_model::equal_int_with_broadcasting::input2_data, onert_micro::test_model::neg_equal_int_with_broadcasting::input2_data, onert_micro::test_model::equal_int_with_no_broadcasting::reference_output_data, onert_micro::test_model::neg_equal_int_with_no_broadcasting::reference_output_data, onert_micro::test_model::equal_int_with_broadcasting::reference_output_data, onert_micro::test_model::neg_equal_int_with_broadcasting::reference_output_data, onert_micro::test_model::equal_int_with_no_broadcasting::test_kernel_model_circle, onert_micro::test_model::neg_equal_int_with_no_broadcasting::test_kernel_model_circle, onert_micro::test_model::equal_int_with_broadcasting::test_kernel_model_circle, and onert_micro::test_model::neg_equal_int_with_broadcasting::test_kernel_model_circle.

◆ ~TestDataIntEqual()

onert_micro::test_model::TestDataIntEqual::~TestDataIntEqual ( )
overridedefault

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