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

#include <FloatAddKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::TestDataFloatAdd:

Public Member Functions

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

Detailed Description

Definition at line 147 of file FloatAddKernel.h.

Constructor & Destructor Documentation

◆ TestDataFloatAdd()

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

Definition at line 150 of file FloatAddKernel.h.

150 : TestDataAddBase<float>(is_with_broadcast)
151 {
152 if (is_with_broadcast)
153 {
159 }
160 else
161 {
167 }
168 }

References luci_interpreter::test_kernel::TestDataAddBase< float >::_input1_data, luci_interpreter::test_kernel::TestDataAddBase< float >::_input2_data, luci_interpreter::test_kernel::TestDataAddBase< float >::_reference_output_data, luci_interpreter::test_kernel::TestDataAddBase< float >::_test_add_kernel_model_circle, luci_interpreter::test_kernel::add_float_with_broadcasting::input1_data, luci_interpreter::test_kernel::add_float_no_broadcasting::input1_data, luci_interpreter::test_kernel::add_float_with_broadcasting::input2_data, luci_interpreter::test_kernel::add_float_no_broadcasting::input2_data, luci_interpreter::test_kernel::add_float_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::add_float_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::add_float_no_broadcasting::test_add_kernel_float_no_broadcasting_model_circle, and luci_interpreter::test_kernel::add_float_with_broadcasting::test_add_kernel_float_with_broadcasting_model_circle.

◆ ~TestDataFloatAdd()

luci_interpreter::test_kernel::TestDataFloatAdd::~TestDataFloatAdd ( )
overridedefault

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