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

#include <IntLessKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::TestDataIntLess:

Public Member Functions

 TestDataIntLess (bool is_with_broadcast, bool is_neg)
 
 ~TestDataIntLess () override=default
 
- Public Member Functions inherited from luci_interpreter::test_kernel::TestDataLessBase< int32_t, bool >
 TestDataLessBase (bool)
 
 TestDataLessBase ()=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::TestDataLessBase< 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 253 of file IntLessKernel.h.

Constructor & Destructor Documentation

◆ TestDataIntLess()

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

Definition at line 256 of file IntLessKernel.h.

257 : TestDataLessBase<int32_t, bool>(is_with_broadcast)
258 {
259 if (is_with_broadcast)
260 {
261 if (is_neg)
262 {
267 }
268 else
269 {
274 }
275 }
276 else
277 {
278 if (is_neg)
279 {
284 }
285 else
286 {
291 }
292 }
293 }

References luci_interpreter::test_kernel::TestDataLessBase< int32_t, bool >::_input1_data, luci_interpreter::test_kernel::TestDataLessBase< int32_t, bool >::_input2_data, luci_interpreter::test_kernel::TestDataLessBase< int32_t, bool >::_reference_output_data, luci_interpreter::test_kernel::TestDataLessBase< int32_t, bool >::_test_kernel_model_circle, luci_interpreter::test_kernel::less_int_with_no_broadcasting::input1_data, luci_interpreter::test_kernel::neg_less_int_with_no_broadcasting::input1_data, luci_interpreter::test_kernel::less_int_with_broadcasting::input1_data, luci_interpreter::test_kernel::neg_less_int_with_broadcasting::input1_data, luci_interpreter::test_kernel::less_int_with_no_broadcasting::input2_data, luci_interpreter::test_kernel::neg_less_int_with_no_broadcasting::input2_data, luci_interpreter::test_kernel::less_int_with_broadcasting::input2_data, luci_interpreter::test_kernel::neg_less_int_with_broadcasting::input2_data, luci_interpreter::test_kernel::less_int_with_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::neg_less_int_with_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::less_int_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::neg_less_int_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::less_int_with_no_broadcasting::test_kernel_model_circle, luci_interpreter::test_kernel::neg_less_int_with_no_broadcasting::test_kernel_model_circle, luci_interpreter::test_kernel::less_int_with_broadcasting::test_kernel_model_circle, and luci_interpreter::test_kernel::neg_less_int_with_broadcasting::test_kernel_model_circle.

◆ ~TestDataIntLess()

luci_interpreter::test_kernel::TestDataIntLess::~TestDataIntLess ( )
overridedefault

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