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

#include <IntSubKernel.h>

Collaboration diagram for luci_interpreter::test_kernel::TestDataIntSub:

Public Member Functions

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

Detailed Description

Definition at line 145 of file IntSubKernel.h.

Constructor & Destructor Documentation

◆ TestDataIntSub()

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

Definition at line 148 of file IntSubKernel.h.

148 : TestDataSubBase<int32_t>(is_with_broadcast)
149 {
150 if (is_with_broadcast)
151 {
156 }
157 else
158 {
163 }
164 }

References luci_interpreter::test_kernel::TestDataSubBase< int32_t >::_input1_data, luci_interpreter::test_kernel::TestDataSubBase< int32_t >::_input2_data, luci_interpreter::test_kernel::TestDataSubBase< int32_t >::_reference_output_data, luci_interpreter::test_kernel::TestDataSubBase< int32_t >::_test_kernel_model_circle, luci_interpreter::test_kernel::sub_int_with_broadcasting::input1_data, luci_interpreter::test_kernel::sub_int_no_broadcasting::input1_data, luci_interpreter::test_kernel::sub_int_with_broadcasting::input2_data, luci_interpreter::test_kernel::sub_int_no_broadcasting::input2_data, luci_interpreter::test_kernel::sub_int_with_broadcasting::reference_output_data, luci_interpreter::test_kernel::sub_int_no_broadcasting::reference_output_data, luci_interpreter::test_kernel::sub_int_with_broadcasting::test_kernel_model_circle, and luci_interpreter::test_kernel::sub_int_no_broadcasting::test_kernel_model_circle.

◆ ~TestDataIntSub()

luci_interpreter::test_kernel::TestDataIntSub::~TestDataIntSub ( )
overridedefault

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