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

#include <FloatSubKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::TestDataFloatSub:

Public Member Functions

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

Detailed Description

Definition at line 150 of file FloatSubKernel.h.

Constructor & Destructor Documentation

◆ TestDataFloatSub()

luci_interpreter::test_kernel::TestDataFloatSub::TestDataFloatSub ( bool  is_with_broadcast)
inlineexplicit

Definition at line 153 of file FloatSubKernel.h.

153 : TestDataSubBase<float>(is_with_broadcast)
154 {
155 if (is_with_broadcast)
156 {
161 }
162 else
163 {
168 }
169 }

References luci_interpreter::test_kernel::TestDataSubBase< float >::_input1_data, luci_interpreter::test_kernel::TestDataSubBase< float >::_input2_data, luci_interpreter::test_kernel::TestDataSubBase< float >::_reference_output_data, luci_interpreter::test_kernel::TestDataSubBase< float >::_test_kernel_model_circle, luci_interpreter::test_kernel::sub_float_with_broadcasting::input1_data, luci_interpreter::test_kernel::sub_float_no_broadcasting::input1_data, luci_interpreter::test_kernel::sub_float_with_broadcasting::input2_data, luci_interpreter::test_kernel::sub_float_no_broadcasting::input2_data, luci_interpreter::test_kernel::sub_float_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::sub_float_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::sub_float_with_broadcasting::test_kernel_model_circle, and luci_interpreter::test_kernel::sub_float_no_broadcasting::test_kernel_model_circle.

◆ ~TestDataFloatSub()

luci_interpreter::test_kernel::TestDataFloatSub::~TestDataFloatSub ( )
overridedefault

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