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

#include <FloatEqualKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::TestDataFloatEqual:

Public Member Functions

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

Constructor & Destructor Documentation

◆ TestDataFloatEqual()

luci_interpreter::test_kernel::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 luci_interpreter::test_kernel::TestDataEqualBase< float, bool >::_input1_data, luci_interpreter::test_kernel::TestDataEqualBase< float, bool >::_input2_data, luci_interpreter::test_kernel::TestDataEqualBase< float, bool >::_reference_output_data, luci_interpreter::test_kernel::TestDataEqualBase< float, bool >::_test_kernel_model_circle, luci_interpreter::test_kernel::neg_equal_float_with_no_broadcasting::input1_data, luci_interpreter::test_kernel::equal_float_with_no_broadcasting::input1_data, luci_interpreter::test_kernel::equal_float_with_broadcasting::input1_data, luci_interpreter::test_kernel::neg_equal_float_with_broadcasting::input1_data, luci_interpreter::test_kernel::neg_equal_float_with_no_broadcasting::input2_data, luci_interpreter::test_kernel::equal_float_with_no_broadcasting::input2_data, luci_interpreter::test_kernel::equal_float_with_broadcasting::input2_data, luci_interpreter::test_kernel::neg_equal_float_with_broadcasting::input2_data, luci_interpreter::test_kernel::neg_equal_float_with_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::equal_float_with_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::equal_float_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::neg_equal_float_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::neg_equal_float_with_no_broadcasting::test_kernel_model_circle, luci_interpreter::test_kernel::equal_float_with_no_broadcasting::test_kernel_model_circle, luci_interpreter::test_kernel::equal_float_with_broadcasting::test_kernel_model_circle, and luci_interpreter::test_kernel::neg_equal_float_with_broadcasting::test_kernel_model_circle.

◆ ~TestDataFloatEqual()

luci_interpreter::test_kernel::TestDataFloatEqual::~TestDataFloatEqual ( )
overridedefault

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