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

#include <FloatLessKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::TestDataFloatLess:

Public Member Functions

 TestDataFloatLess (bool is_with_broadcast, bool is_neg)
 
 ~TestDataFloatLess () override=default
 
- Public Member Functions inherited from luci_interpreter::test_kernel::TestDataLessBase< float, bool >
 TestDataLessBase (bool)
 
 TestDataLessBase ()=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::TestDataLessBase< 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 265 of file FloatLessKernel.h.

Constructor & Destructor Documentation

◆ TestDataFloatLess()

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

Definition at line 268 of file FloatLessKernel.h.

269 : TestDataLessBase<float, bool>(is_with_broadcast)
270 {
271 if (not is_with_broadcast)
272 {
273 if (is_neg)
274 {
279 }
280 else
281 {
286 }
287 }
288 else
289 {
290 if (is_neg)
291 {
296 }
297 else
298 {
303 }
304 }
305 }

References luci_interpreter::test_kernel::TestDataLessBase< float, bool >::_input1_data, luci_interpreter::test_kernel::TestDataLessBase< float, bool >::_input2_data, luci_interpreter::test_kernel::TestDataLessBase< float, bool >::_reference_output_data, luci_interpreter::test_kernel::TestDataLessBase< float, bool >::_test_kernel_model_circle, luci_interpreter::test_kernel::neg_less_float_with_no_broadcasting::input1_data, luci_interpreter::test_kernel::less_float_with_no_broadcasting::input1_data, luci_interpreter::test_kernel::less_float_with_broadcasting::input1_data, luci_interpreter::test_kernel::neg_less_float_with_broadcasting::input1_data, luci_interpreter::test_kernel::neg_less_float_with_no_broadcasting::input2_data, luci_interpreter::test_kernel::less_float_with_no_broadcasting::input2_data, luci_interpreter::test_kernel::less_float_with_broadcasting::input2_data, luci_interpreter::test_kernel::neg_less_float_with_broadcasting::input2_data, luci_interpreter::test_kernel::neg_less_float_with_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::less_float_with_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::less_float_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::neg_less_float_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::neg_less_float_with_no_broadcasting::test_kernel_model_circle, luci_interpreter::test_kernel::less_float_with_no_broadcasting::test_kernel_model_circle, luci_interpreter::test_kernel::less_float_with_broadcasting::test_kernel_model_circle, and luci_interpreter::test_kernel::neg_less_float_with_broadcasting::test_kernel_model_circle.

◆ ~TestDataFloatLess()

luci_interpreter::test_kernel::TestDataFloatLess::~TestDataFloatLess ( )
overridedefault

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