ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci_interpreter::test_kernel::TestDataIntEqual Class Reference

#include <IntEqualKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::TestDataIntEqual:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from luci_interpreter::test_kernel::TestDataEqualBase< int32_t, bool >
std::vector< int32_t > _input1_data
 
std::vector< int32_t > _input2_data
 
std::vector< bool > _reference_output_data
 
const unsigned char * _test_kernel_model_circle
 

Detailed Description

Definition at line 230 of file IntEqualKernel.h.

Constructor & Destructor Documentation

◆ TestDataIntEqual()

luci_interpreter::test_kernel::TestDataIntEqual::TestDataIntEqual ( bool  is_with_broadcast,
bool  is_neg 
)
inlineexplicit

Definition at line 233 of file IntEqualKernel.h.

234 : TestDataEqualBase<int32_t, bool>(is_with_broadcast)
235 {
236 if (is_with_broadcast)
237 {
238 if (is_neg)
239 {
244 }
245 else
246 {
251 }
252 }
253 else
254 {
255 if (is_neg)
256 {
261 }
262 else
263 {
268 }
269 }
270 }

References luci_interpreter::test_kernel::TestDataEqualBase< int32_t, bool >::_input1_data, luci_interpreter::test_kernel::TestDataEqualBase< int32_t, bool >::_input2_data, luci_interpreter::test_kernel::TestDataEqualBase< int32_t, bool >::_reference_output_data, luci_interpreter::test_kernel::TestDataEqualBase< int32_t, bool >::_test_kernel_model_circle, luci_interpreter::test_kernel::equal_int_with_no_broadcasting::input1_data, luci_interpreter::test_kernel::neg_equal_int_with_no_broadcasting::input1_data, luci_interpreter::test_kernel::equal_int_with_broadcasting::input1_data, luci_interpreter::test_kernel::neg_equal_int_with_broadcasting::input1_data, luci_interpreter::test_kernel::equal_int_with_no_broadcasting::input2_data, luci_interpreter::test_kernel::neg_equal_int_with_no_broadcasting::input2_data, luci_interpreter::test_kernel::equal_int_with_broadcasting::input2_data, luci_interpreter::test_kernel::neg_equal_int_with_broadcasting::input2_data, luci_interpreter::test_kernel::equal_int_with_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::neg_equal_int_with_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::equal_int_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::neg_equal_int_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::equal_int_with_no_broadcasting::test_kernel_model_circle, luci_interpreter::test_kernel::neg_equal_int_with_no_broadcasting::test_kernel_model_circle, luci_interpreter::test_kernel::equal_int_with_broadcasting::test_kernel_model_circle, and luci_interpreter::test_kernel::neg_equal_int_with_broadcasting::test_kernel_model_circle.

◆ ~TestDataIntEqual()

luci_interpreter::test_kernel::TestDataIntEqual::~TestDataIntEqual ( )
overridedefault

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