ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert_micro::test_model::TestDataBase< T, U > Class Template Referenceabstract

#include <TestDataBase.h>

Public Member Functions

virtual ~TestDataBase ()=default
 
virtual const unsigned char * get_model_ptr ()=0
 
virtual const std::vector< T > & get_input_data_by_index (int i)=0
 
virtual const std::vector< U > & get_output_data_by_index (int i)=0
 

Detailed Description

template<typename T, typename U = T>
class onert_micro::test_model::TestDataBase< T, U >

Definition at line 27 of file TestDataBase.h.

Constructor & Destructor Documentation

◆ ~TestDataBase()

template<typename T , typename U = T>
virtual onert_micro::test_model::TestDataBase< T, U >::~TestDataBase ( )
virtualdefault

Member Function Documentation

◆ get_input_data_by_index()

template<typename T , typename U = T>
virtual const std::vector< T > & onert_micro::test_model::TestDataBase< T, U >::get_input_data_by_index ( int  i)
pure virtual

Implemented in onert_micro::test_model::TestDataAbsBase< T >, onert_micro::test_model::TestDataAddBase< T >, onert_micro::test_model::TestDataAddBase< int8_t >, onert_micro::test_model::TestDataAddNBase< T >, onert_micro::test_model::TestDataArgMaxBase< T, U >, onert_micro::test_model::TestDataArgMaxBase< float, int >, onert_micro::test_model::TestDataArgMinBase< T, U >, onert_micro::test_model::TestDataArgMinBase< float, int >, onert_micro::test_model::TestDataAveragePool2DBase< T >, onert_micro::test_model::TestDataAveragePool2DBase< int8_t >, onert_micro::test_model::TestDataBatchToSpaceNDBase< T >, onert_micro::test_model::TestDataCastBase< T, U >, onert_micro::test_model::TestDataCeilBase< T >, onert_micro::test_model::TestDataConcatenationBase< T >, onert_micro::test_model::TestDataConcatenationBase< int8_t >, onert_micro::test_model::TestDataConv2DBase< T >, onert_micro::test_model::TestDataConv2DBase< int8_t >, onert_micro::test_model::TestDataCosBase< T >, onert_micro::test_model::TestDataDepthwiseConv2DBase< T >, onert_micro::test_model::TestDataDepthwiseConv2DBase< int8_t >, onert_micro::test_model::TestDataDequantizeBase< T, O >, onert_micro::test_model::TestDataDequantizeBase< int8_t, float >, onert_micro::test_model::TestDataDivBase< T >, onert_micro::test_model::TestDataDivBase< int32_t >, onert_micro::test_model::TestDataDivBase< int64_t >, onert_micro::test_model::TestDataEluBase< T >, onert_micro::test_model::TestDataEqualBase< T, U >, onert_micro::test_model::TestDataExpBase< T >, onert_micro::test_model::TestDataExpandDimsKernel< T >, onert_micro::test_model::TestDataFillKernel< T >, onert_micro::test_model::TestDataFloorBase< T >, onert_micro::test_model::TestDataFloorDivBase< T >, onert_micro::test_model::TestDataFloorModBase< T >, onert_micro::test_model::TestDataFullyConnectedBase< T >, onert_micro::test_model::TestDataFullyConnectedBase< int16_t >, onert_micro::test_model::TestDataFullyConnectedBase< int8_t >, onert_micro::test_model::TestDataGatherBase< T >, onert_micro::test_model::TestDataGatherBase< int8_t >, onert_micro::test_model::TestDataGatherNDBase< T >, onert_micro::test_model::TestDataGreaterBase< T, U >, onert_micro::test_model::TestDataGreaterEqualBase< T, U >, onert_micro::test_model::TestDataGRUBase< T >, onert_micro::test_model::TestDataGRUBase< float >, onert_micro::test_model::TestDataL2NormalizationBase< T >, onert_micro::test_model::TestDataL2Pool2DBase< T >, onert_micro::test_model::TestDataLeakyReLUBase< T >, onert_micro::test_model::TestDataLessBase< T, U >, onert_micro::test_model::TestDataLessBase< int8_t, bool >, onert_micro::test_model::TestDataLessEqualBase< T, U >, onert_micro::test_model::TestDataLogBase< T >, onert_micro::test_model::TestDataLogSoftmaxBase< T >, onert_micro::test_model::TestDataLogisticBase< T >, onert_micro::test_model::TestDataLogisticBase< int8_t >, onert_micro::test_model::TestDataMaximumBase< T >, onert_micro::test_model::TestDataMaxPool2DBase< T >, onert_micro::test_model::TestDataMaxPool2DBase< int8_t >, onert_micro::test_model::TestDataMinimumBase< T >, onert_micro::test_model::TestDataMulBase< T >, onert_micro::test_model::TestDataMulBase< int8_t >, onert_micro::test_model::TestDataNegBase< T >, onert_micro::test_model::TestDataNotEqualBase< T, U >, onert_micro::test_model::TestDataPackBase< T >, onert_micro::test_model::TestDataPackBase< int8_t >, onert_micro::test_model::TestDataPadBase< T >, onert_micro::test_model::TestDataQuantizeBase< T, O >, onert_micro::test_model::TestDataQuantizeBase< float, int8_t >, onert_micro::test_model::TestDataReLUBase< T >, onert_micro::test_model::TestDataReLUBase< int8_t >, onert_micro::test_model::TestDataReLU6Base< T >, onert_micro::test_model::TestDataReLU6Base< int8_t >, onert_micro::test_model::TestDataReshapeKernel< T >, onert_micro::test_model::TestDataS8ReshapeKernel, onert_micro::test_model::TestDataRoundBase< T >, onert_micro::test_model::TestDataRsqrtBase< T >, onert_micro::test_model::TestDataShapeKernel< T, U >, onert_micro::test_model::TestDataSinBase< T >, onert_micro::test_model::TestDataSliceBase< T >, onert_micro::test_model::TestDataSliceBase< int32_t >, onert_micro::test_model::TestDataSliceBase< int64_t >, onert_micro::test_model::TestDataSoftmaxBase< T >, onert_micro::test_model::TestDataSoftmaxBase< float >, onert_micro::test_model::TestDataSoftmaxBase< int8_t >, onert_micro::test_model::TestDataSpaceToBatchNDBase< T >, onert_micro::test_model::TestDataSpaceToDepthBase< T >, onert_micro::test_model::TestDataSpaceToDepthBase< int8_t >, onert_micro::test_model::TestDataSplitBase< T >, onert_micro::test_model::TestDataSplitVBase< T >, onert_micro::test_model::TestDataSplitVBase< float >, onert_micro::test_model::TestDataSqrtBase< T >, onert_micro::test_model::TestDataSquareBase< T >, onert_micro::test_model::TestDataSquaredDifferenceBase< T >, onert_micro::test_model::TestDataStridedSliceBase< T >, onert_micro::test_model::TestDataStridedSliceBase< float >, onert_micro::test_model::TestDataStridedSliceBase< int32_t >, onert_micro::test_model::TestDataStridedSliceBase< int8_t >, onert_micro::test_model::TestDataSubBase< T >, onert_micro::test_model::TestDataSubBase< int8_t >, onert_micro::test_model::TestDataSVDFBase< T >, onert_micro::test_model::TestDataTanhBase< T >, onert_micro::test_model::TestDataTransposeKernel< T >, onert_micro::test_model::TestDataTransposeConvBase< T >, onert_micro::test_model::TestDataUnpackBase< T >, onert_micro::test_model::TestDataUnpackBase< int8_t >, and onert_micro::test_model::TestDataWhileKernel< T >.

Referenced by onert_micro::execute::testing::checkKernel().

◆ get_model_ptr()

template<typename T , typename U = T>
virtual const unsigned char * onert_micro::test_model::TestDataBase< T, U >::get_model_ptr ( )
pure virtual

Implemented in onert_micro::test_model::TestDataAbsBase< T >, onert_micro::test_model::TestDataAddBase< T >, onert_micro::test_model::TestDataAddBase< int8_t >, onert_micro::test_model::TestDataAddNBase< T >, onert_micro::test_model::TestDataArgMaxBase< T, U >, onert_micro::test_model::TestDataArgMaxBase< float, int >, onert_micro::test_model::TestDataArgMinBase< T, U >, onert_micro::test_model::TestDataArgMinBase< float, int >, onert_micro::test_model::TestDataAveragePool2DBase< T >, onert_micro::test_model::TestDataAveragePool2DBase< int8_t >, onert_micro::test_model::TestDataBatchToSpaceNDBase< T >, onert_micro::test_model::TestDataCastBase< T, U >, onert_micro::test_model::TestDataCeilBase< T >, onert_micro::test_model::TestDataConcatenationBase< T >, onert_micro::test_model::TestDataConcatenationBase< int8_t >, onert_micro::test_model::TestDataConv2DBase< T >, onert_micro::test_model::TestDataConv2DBase< int8_t >, onert_micro::test_model::TestDataCosBase< T >, onert_micro::test_model::TestDataDepthwiseConv2DBase< T >, onert_micro::test_model::TestDataDepthwiseConv2DBase< int8_t >, onert_micro::test_model::TestDataDequantizeBase< T, O >, onert_micro::test_model::TestDataDequantizeBase< int8_t, float >, onert_micro::test_model::TestDataDivBase< T >, onert_micro::test_model::TestDataDivBase< int32_t >, onert_micro::test_model::TestDataDivBase< int64_t >, onert_micro::test_model::TestDataEluBase< T >, onert_micro::test_model::TestDataEqualBase< T, U >, onert_micro::test_model::TestDataExpBase< T >, onert_micro::test_model::TestDataExpandDimsKernel< T >, onert_micro::test_model::TestDataFillKernel< T >, onert_micro::test_model::TestDataFloorBase< T >, onert_micro::test_model::TestDataFloorDivBase< T >, onert_micro::test_model::TestDataFloorModBase< T >, onert_micro::test_model::TestDataFullyConnectedBase< T >, onert_micro::test_model::TestDataFullyConnectedBase< int16_t >, onert_micro::test_model::TestDataFullyConnectedBase< int8_t >, onert_micro::test_model::TestDataGatherBase< T >, onert_micro::test_model::TestDataGatherBase< int8_t >, onert_micro::test_model::TestDataGatherNDBase< T >, onert_micro::test_model::TestDataGreaterBase< T, U >, onert_micro::test_model::TestDataGreaterEqualBase< T, U >, onert_micro::test_model::TestDataGRUBase< T >, onert_micro::test_model::TestDataGRUBase< float >, onert_micro::test_model::TestDataL2NormalizationBase< T >, onert_micro::test_model::TestDataL2Pool2DBase< T >, onert_micro::test_model::TestDataLeakyReLUBase< T >, onert_micro::test_model::TestDataLessBase< T, U >, onert_micro::test_model::TestDataLessBase< int8_t, bool >, onert_micro::test_model::TestDataLessEqualBase< T, U >, onert_micro::test_model::TestDataLogBase< T >, onert_micro::test_model::TestDataLogSoftmaxBase< T >, onert_micro::test_model::TestDataLogisticBase< T >, onert_micro::test_model::TestDataLogisticBase< int8_t >, onert_micro::test_model::TestDataMaximumBase< T >, onert_micro::test_model::TestDataMaxPool2DBase< T >, onert_micro::test_model::TestDataMaxPool2DBase< int8_t >, onert_micro::test_model::TestDataMinimumBase< T >, onert_micro::test_model::TestDataMulBase< T >, onert_micro::test_model::TestDataMulBase< int8_t >, onert_micro::test_model::TestDataNegBase< T >, onert_micro::test_model::TestDataNotEqualBase< T, U >, onert_micro::test_model::TestDataPackBase< T >, onert_micro::test_model::TestDataPackBase< int8_t >, onert_micro::test_model::TestDataPadBase< T >, onert_micro::test_model::TestDataQuantizeBase< T, O >, onert_micro::test_model::TestDataQuantizeBase< float, int8_t >, onert_micro::test_model::TestDataReLUBase< T >, onert_micro::test_model::TestDataReLUBase< int8_t >, onert_micro::test_model::TestDataReLU6Base< T >, onert_micro::test_model::TestDataReLU6Base< int8_t >, onert_micro::test_model::TestDataReshapeKernel< T >, onert_micro::test_model::TestDataS8ReshapeKernel, onert_micro::test_model::TestDataRoundBase< T >, onert_micro::test_model::TestDataRsqrtBase< T >, onert_micro::test_model::TestDataShapeKernel< T, U >, onert_micro::test_model::TestDataSinBase< T >, onert_micro::test_model::TestDataSliceBase< T >, onert_micro::test_model::TestDataSliceBase< int32_t >, onert_micro::test_model::TestDataSliceBase< int64_t >, onert_micro::test_model::TestDataSoftmaxBase< T >, onert_micro::test_model::TestDataSoftmaxBase< float >, onert_micro::test_model::TestDataSoftmaxBase< int8_t >, onert_micro::test_model::TestDataSpaceToBatchNDBase< T >, onert_micro::test_model::TestDataSpaceToDepthBase< T >, onert_micro::test_model::TestDataSpaceToDepthBase< int8_t >, onert_micro::test_model::TestDataSplitBase< T >, onert_micro::test_model::TestDataSplitVBase< T >, onert_micro::test_model::TestDataSplitVBase< float >, onert_micro::test_model::TestDataSqrtBase< T >, onert_micro::test_model::TestDataSquareBase< T >, onert_micro::test_model::TestDataSquaredDifferenceBase< T >, onert_micro::test_model::TestDataStridedSliceBase< T >, onert_micro::test_model::TestDataStridedSliceBase< float >, onert_micro::test_model::TestDataStridedSliceBase< int32_t >, onert_micro::test_model::TestDataStridedSliceBase< int8_t >, onert_micro::test_model::TestDataSubBase< T >, onert_micro::test_model::TestDataSubBase< int8_t >, onert_micro::test_model::TestDataSVDFBase< T >, onert_micro::test_model::TestDataTanhBase< T >, onert_micro::test_model::TestDataTransposeKernel< T >, onert_micro::test_model::TestDataTransposeConvBase< T >, onert_micro::test_model::TestDataUnpackBase< T >, onert_micro::test_model::TestDataUnpackBase< int8_t >, and onert_micro::test_model::TestDataWhileKernel< T >.

Referenced by onert_micro::execute::testing::checkKernel().

◆ get_output_data_by_index()

template<typename T , typename U = T>
virtual const std::vector< U > & onert_micro::test_model::TestDataBase< T, U >::get_output_data_by_index ( int  i)
pure virtual

Implemented in onert_micro::test_model::TestDataAbsBase< T >, onert_micro::test_model::TestDataAddBase< T >, onert_micro::test_model::TestDataAddBase< int8_t >, onert_micro::test_model::TestDataAddNBase< T >, onert_micro::test_model::TestDataArgMaxBase< T, U >, onert_micro::test_model::TestDataArgMaxBase< float, int >, onert_micro::test_model::TestDataArgMinBase< T, U >, onert_micro::test_model::TestDataArgMinBase< float, int >, onert_micro::test_model::TestDataAveragePool2DBase< T >, onert_micro::test_model::TestDataAveragePool2DBase< int8_t >, onert_micro::test_model::TestDataBatchToSpaceNDBase< T >, onert_micro::test_model::TestDataCastBase< T, U >, onert_micro::test_model::TestDataCeilBase< T >, onert_micro::test_model::TestDataConcatenationBase< T >, onert_micro::test_model::TestDataConcatenationBase< int8_t >, onert_micro::test_model::TestDataConv2DBase< T >, onert_micro::test_model::TestDataConv2DBase< int8_t >, onert_micro::test_model::TestDataCosBase< T >, onert_micro::test_model::TestDataDepthwiseConv2DBase< T >, onert_micro::test_model::TestDataDepthwiseConv2DBase< int8_t >, onert_micro::test_model::TestDataDequantizeBase< T, O >, onert_micro::test_model::TestDataDequantizeBase< int8_t, float >, onert_micro::test_model::TestDataDivBase< T >, onert_micro::test_model::TestDataDivBase< int32_t >, onert_micro::test_model::TestDataDivBase< int64_t >, onert_micro::test_model::TestDataEluBase< T >, onert_micro::test_model::TestDataEqualBase< T, U >, onert_micro::test_model::TestDataExpBase< T >, onert_micro::test_model::TestDataExpandDimsKernel< T >, onert_micro::test_model::TestDataFillKernel< T >, onert_micro::test_model::TestDataFloorBase< T >, onert_micro::test_model::TestDataFloorDivBase< T >, onert_micro::test_model::TestDataFloorModBase< T >, onert_micro::test_model::TestDataFullyConnectedBase< T >, onert_micro::test_model::TestDataFullyConnectedBase< int16_t >, onert_micro::test_model::TestDataFullyConnectedBase< int8_t >, onert_micro::test_model::TestDataGatherBase< T >, onert_micro::test_model::TestDataGatherBase< int8_t >, onert_micro::test_model::TestDataGatherNDBase< T >, onert_micro::test_model::TestDataGreaterBase< T, U >, onert_micro::test_model::TestDataGreaterEqualBase< T, U >, onert_micro::test_model::TestDataGRUBase< T >, onert_micro::test_model::TestDataGRUBase< float >, onert_micro::test_model::TestDataL2NormalizationBase< T >, onert_micro::test_model::TestDataL2Pool2DBase< T >, onert_micro::test_model::TestDataLeakyReLUBase< T >, onert_micro::test_model::TestDataLessBase< T, U >, onert_micro::test_model::TestDataLessBase< int8_t, bool >, onert_micro::test_model::TestDataLessEqualBase< T, U >, onert_micro::test_model::TestDataLogBase< T >, onert_micro::test_model::TestDataLogSoftmaxBase< T >, onert_micro::test_model::TestDataLogisticBase< T >, onert_micro::test_model::TestDataLogisticBase< int8_t >, onert_micro::test_model::TestDataMaximumBase< T >, onert_micro::test_model::TestDataMaxPool2DBase< T >, onert_micro::test_model::TestDataMaxPool2DBase< int8_t >, onert_micro::test_model::TestDataMinimumBase< T >, onert_micro::test_model::TestDataMulBase< T >, onert_micro::test_model::TestDataMulBase< int8_t >, onert_micro::test_model::TestDataNegBase< T >, onert_micro::test_model::TestDataNotEqualBase< T, U >, onert_micro::test_model::TestDataPackBase< T >, onert_micro::test_model::TestDataPackBase< int8_t >, onert_micro::test_model::TestDataPadBase< T >, onert_micro::test_model::TestDataQuantizeBase< T, O >, onert_micro::test_model::TestDataQuantizeBase< float, int8_t >, onert_micro::test_model::TestDataReLUBase< T >, onert_micro::test_model::TestDataReLUBase< int8_t >, onert_micro::test_model::TestDataReLU6Base< T >, onert_micro::test_model::TestDataReLU6Base< int8_t >, onert_micro::test_model::TestDataReshapeKernel< T >, onert_micro::test_model::TestDataS8ReshapeKernel, onert_micro::test_model::TestDataRoundBase< T >, onert_micro::test_model::TestDataRsqrtBase< T >, onert_micro::test_model::TestDataShapeKernel< T, U >, onert_micro::test_model::TestDataSinBase< T >, onert_micro::test_model::TestDataSliceBase< T >, onert_micro::test_model::TestDataSliceBase< int32_t >, onert_micro::test_model::TestDataSliceBase< int64_t >, onert_micro::test_model::TestDataSoftmaxBase< T >, onert_micro::test_model::TestDataSoftmaxBase< float >, onert_micro::test_model::TestDataSoftmaxBase< int8_t >, onert_micro::test_model::TestDataSpaceToBatchNDBase< T >, onert_micro::test_model::TestDataSpaceToDepthBase< T >, onert_micro::test_model::TestDataSpaceToDepthBase< int8_t >, onert_micro::test_model::TestDataSplitBase< T >, onert_micro::test_model::TestDataSplitVBase< T >, onert_micro::test_model::TestDataSplitVBase< float >, onert_micro::test_model::TestDataSqrtBase< T >, onert_micro::test_model::TestDataSquareBase< T >, onert_micro::test_model::TestDataSquaredDifferenceBase< T >, onert_micro::test_model::TestDataStridedSliceBase< T >, onert_micro::test_model::TestDataStridedSliceBase< float >, onert_micro::test_model::TestDataStridedSliceBase< int32_t >, onert_micro::test_model::TestDataStridedSliceBase< int8_t >, onert_micro::test_model::TestDataSubBase< T >, onert_micro::test_model::TestDataSubBase< int8_t >, onert_micro::test_model::TestDataSVDFBase< T >, onert_micro::test_model::TestDataTanhBase< T >, onert_micro::test_model::TestDataTransposeKernel< T >, onert_micro::test_model::TestDataTransposeConvBase< T >, onert_micro::test_model::TestDataUnpackBase< T >, onert_micro::test_model::TestDataUnpackBase< int8_t >, and onert_micro::test_model::TestDataWhileKernel< T >.


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