ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
luci_interpreter::test_kernel::TestDataFloatNotEqual Class Reference

#include <FloatNotEqualKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::TestDataFloatNotEqual:

Public Member Functions

 TestDataFloatNotEqual (bool is_with_broadcast, bool is_neg)
 
 ~TestDataFloatNotEqual () override=default
 
- Public Member Functions inherited from luci_interpreter::test_kernel::TestDataNotEqualBase< float, bool >
 TestDataNotEqualBase (bool)
 
 TestDataNotEqualBase ()=delete
 
const unsigned char * get_model_ptr () override final
 
const std::vector< float > & 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::TestDataNotEqualBase< float, bool >
std::vector< float > _input1_data
 
std::vector< float > _input2_data
 
std::vector< bool > _reference_output_data
 
const unsigned char * _test_kernel_model_circle
 

Detailed Description

Definition at line 148 of file FloatNotEqualKernel.h.

Constructor & Destructor Documentation

◆ TestDataFloatNotEqual()

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

Definition at line 151 of file FloatNotEqualKernel.h.

152 : TestDataNotEqualBase<float, bool>(is_with_broadcast)
153 {
154 if (is_with_broadcast)
155 {
156 assert(false && "Not impl yet");
157 }
158 else
159 {
160 if (is_neg)
161 {
167 }
168 else
169 {
174 }
175 }
176 }

References luci_interpreter::test_kernel::TestDataNotEqualBase< float, bool >::_input1_data, luci_interpreter::test_kernel::TestDataNotEqualBase< float, bool >::_input2_data, luci_interpreter::test_kernel::TestDataNotEqualBase< float, bool >::_reference_output_data, luci_interpreter::test_kernel::TestDataNotEqualBase< float, bool >::_test_kernel_model_circle, luci_interpreter::test_kernel::not_equal_float::input1_data, luci_interpreter::test_kernel::neg_not_equal_float_with_no_broadcasting::input1_data, luci_interpreter::test_kernel::not_equal_float::input2_data, luci_interpreter::test_kernel::neg_not_equal_float_with_no_broadcasting::input2_data, luci_interpreter::test_kernel::not_equal_float::reference_output_data, luci_interpreter::test_kernel::neg_not_equal_float_with_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::not_equal_float::test_kernel_model_circle, and luci_interpreter::test_kernel::neg_not_equal_float_with_no_broadcasting::test_kernel_model_circle.

◆ ~TestDataFloatNotEqual()

luci_interpreter::test_kernel::TestDataFloatNotEqual::~TestDataFloatNotEqual ( )
overridedefault

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