summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunseok Lee <chunseok.lee@samsung.com>2020-03-04 09:09:24 (GMT)
committerChunseok Lee <chunseok.lee@samsung.com>2020-03-04 09:09:24 (GMT)
commit302e6564a7a76109e1178207e44e45a58631c477 (patch)
tree6cc4bd95e5e438331fc2c53234af4ed0e0f3bc20
parentbd11b24234d7d43dfe05a81c520aa01ffad06e42 (diff)
downloadnnfw-upstream/1.1.0.zip
nnfw-upstream/1.1.0.tar.gz
nnfw-upstream/1.1.0.tar.bz2
-rw-r--r--.ctags1
-rw-r--r--.gitattributes1
-rw-r--r--.gitignore80
-rw-r--r--.mailmap57
-rw-r--r--CMakeLists.txt91
-rw-r--r--CONTRIBUTORS51
-rw-r--r--COPYRIGHT1
-rw-r--r--LICENSE47
-rw-r--r--Makefile265
-rw-r--r--Makefile.template182
-rw-r--r--README.md76
-rw-r--r--cmake/ApplyCompileFlags.cmake15
-rw-r--r--cmake/CfgOptionFlags.cmake26
-rw-r--r--cmake/config/config_aarch64-linux.cmake32
-rw-r--r--cmake/config/config_aarch64-tizen.cmake55
-rw-r--r--cmake/config/config_arm64-android.cmake44
-rw-r--r--cmake/config/config_armv7l-linux.cmake32
-rw-r--r--cmake/config/config_armv7l-tizen.cmake60
-rw-r--r--cmake/config/config_x86_64-linux.cmake7
-rw-r--r--cmake/modules/ExternalProjectTools.cmake10
-rw-r--r--cmake/modules/ExternalSourceTools.cmake58
-rw-r--r--cmake/modules/OptionTools.cmake11
-rw-r--r--cmake/option/identify_platform.cmake48
-rw-r--r--cmake/option/option_aarch64-linux.cmake16
-rw-r--r--cmake/option/option_aarch64-tizen.cmake15
-rw-r--r--cmake/option/option_arm64-android.cmake9
-rw-r--r--cmake/option/option_armv7l-linux.cmake32
-rw-r--r--cmake/option/option_armv7l-tizen.cmake20
-rw-r--r--cmake/option/option_linux.cmake33
-rw-r--r--cmake/option/option_x86_64-linux.cmake12
-rw-r--r--cmake/packages/ARMComputeConfig.cmake81
-rw-r--r--cmake/packages/ARMComputeSourceConfig.cmake18
-rw-r--r--cmake/packages/AbslSourceConfig.cmake19
-rw-r--r--cmake/packages/EigenConfig.cmake17
-rw-r--r--cmake/packages/EigenSourceConfig.cmake19
-rw-r--r--cmake/packages/FarmhashSourceConfig.cmake19
-rw-r--r--cmake/packages/FlatBuffersSourceConfig.cmake19
-rw-r--r--cmake/packages/GEMMLowpSourceConfig.cmake19
-rw-r--r--cmake/packages/GTestConfig.cmake49
-rw-r--r--cmake/packages/NEON2SSESourceConfig.cmake19
-rw-r--r--cmake/packages/NoniusConfig.cmake18
-rw-r--r--cmake/packages/NoniusSourceConfig.cmake18
-rw-r--r--cmake/packages/TensorFlowSourceConfig.cmake18
-rw-r--r--cmake/packages/TensorflowConfig.cmake44
-rw-r--r--compute/ARMComputeEx/CMakeLists.txt32
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/CLKernelLibraryEx.h (renamed from libs/ARMComputeEx/arm_compute/core/CL/CLKernelLibraryEx.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLArgOperationKernel.h101
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLBinaryLogicalOpKernel.h (renamed from libs/ARMComputeEx/arm_compute/core/CL/kernels/CLBinaryLogicalOpKernel.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLCastKernel.h98
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLDepthToSpaceKernel.h (renamed from libs/ARMComputeEx/arm_compute/core/CL/kernels/CLDepthToSpaceKernel.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLEmbeddingLookupKernel.h (renamed from libs/ARMComputeEx/arm_compute/core/CL/kernels/CLEmbeddingLookupKernel.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLGatherExKernel.h109
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLHashtableLookupKernel.h129
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLInstanceNormalizationLayerKernelEx.h100
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLNegKernel.h (renamed from libs/ARMComputeEx/arm_compute/core/CL/kernels/CLNegKernel.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLPReLUKernel.h (renamed from libs/ARMComputeEx/arm_compute/core/CL/kernels/CLPReLUKernel.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLReduceOperationKernel.h (renamed from libs/ARMComputeEx/arm_compute/core/CL/kernels/CLReduceOperationKernel.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLSpaceToBatchNDKernel.h69
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLSpaceToDepthKernel.h (renamed from libs/ARMComputeEx/arm_compute/core/CL/kernels/CLSpaceToDepthKernel.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLTopKV2Kernel.h657
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CL/kernels/CLTransposeConvLayerUpsampleKernel.h85
-rw-r--r--compute/ARMComputeEx/arm_compute/core/CPP/kernels/CPPUpsampleKernelEx.h72
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/NEElementwiseOperationFuncs.h69
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEBinaryLogicalOperationKernel.h70
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NECastKernel.h80
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEDepthToSpaceLayerKernelEx.h80
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEElementwiseUnaryKernelEx.h102
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEEmbeddingLookupKernel.h79
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEGatherKernelEx.h118
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEHashtableLookupKernel.h96
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEInstanceNormalizationLayerKernelEx.h115
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEMuliplyScaleFactorKernel.h83
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEPReLUKernel.h84
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEQuantizationSymmetricKernel.h82
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NEReductionOperationKernelEx.h92
-rw-r--r--compute/ARMComputeEx/arm_compute/core/NEON/kernels/NESpaceToDepthLayerKernelEx.h81
-rw-r--r--compute/ARMComputeEx/arm_compute/core/TypesEx.h64
-rw-r--r--compute/ARMComputeEx/arm_compute/core/UtilsEx.h47
-rw-r--r--compute/ARMComputeEx/arm_compute/core/utils/misc/ShapeCalculatorEx.h222
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/CLFunctionsEx.h42
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLArgOperation.h106
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLBatchToSpaceND.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLBatchToSpaceND.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLBinaryLogicalOp.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLBinaryLogicalOp.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLCast.h52
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLDepthToSpace.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLDepthToSpace.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLEmbeddingLookup.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLEmbeddingLookup.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLFullyConnectedReshapingLayer.h89
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLGatherEx.h62
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLHashtableLookup.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLHashtableLookup.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLInstanceNormalizationLayerEx.h80
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLLogicalNot.h38
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLNeg.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLNeg.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLPReLU.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLPReLU.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLPixelWiseDivision.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLPixelWiseDivision.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLRNNLayerEx.h104
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLReduceOperation.h96
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLSpaceToBatchND.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLSpaceToBatchND.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLSpaceToDepth.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLSpaceToDepth.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLStridedSliceEx.h (renamed from libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLStridedSliceEx.h)0
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLTopKV2.h141
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLTransposeConvLayer.h157
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CL/functions/CLTransposeConvLayerUpsample.h79
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/CPP/functions/CPPUpsampleEx.h49
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/NEFunctionsEx.h38
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEArgMinMax.h81
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEBinaryLogicalOperation.h98
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NECast.h63
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEDepthToSpaceLayerEx.h62
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEElementwiseUnaryLayerEx.h54
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEEmbeddingLookup.h65
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEFullyConnectedHybridLayer.h164
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEFullyConnectedLayerEx.h148
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEFullyConnectedReshapingLayer.h98
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEGEMMLowpMatrixMultiplyCoreEx.h155
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEGatherEx.h69
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEHashtableLookup.h77
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEInstanceNormalizationLayerEx.h100
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEPReLU.h47
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NERNNLayerEx.h114
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEReduceMeanEx.h83
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEReduceOperation.h85
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEReduceSum.h82
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NEReductionOperationEx.h83
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NESpaceToBatchLayerEx.h120
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NESpaceToDepthLayerEx.h63
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/NEON/functions/NETransposeConvLayer.h162
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/misc/functions/GenericGather.h84
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/misc/functions/GenericReshapeLayer.h87
-rw-r--r--compute/ARMComputeEx/arm_compute/runtime/misc/functions/Utils.h112
-rw-r--r--compute/ARMComputeEx/resolve_includes.py (renamed from libs/ARMComputeEx/resolve_includes.py)0
-rw-r--r--compute/ARMComputeEx/src/core/CL/CLKernelLibrary.cpp359
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/arg_operation.cl113
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/arithmetic_op_quantized.cl167
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/binary_logical_op.cl106
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/cast.cl209
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/depth_to_space.cl161
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/embedding_lookup.cl113
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/gather_ex.cl139
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/hashtable_lookup.cl117
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/helpers.h (renamed from libs/ARMComputeEx/src/core/CL/cl_kernels/helpers.h)0
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/helpers_asymm.h (renamed from libs/ARMComputeEx/src/core/CL/cl_kernels/helpers_asymm.h)0
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/instance_normalization_ex.cl251
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/neg_tensor.cl55
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/pixelwise_mul_quantized.cl135
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/prelu.cl96
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/prelu_quantized.cl114
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/reduce_operation.cl188
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/space_to_batch.cl250
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/space_to_depth.cl161
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/topkv2.cl98
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/topkv2_quicksort.cl129
-rw-r--r--compute/ARMComputeEx/src/core/CL/cl_kernels/topkv2_radixsort.cl269
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLArgOperationKernel.cpp157
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLBinaryLogicalOpKernel.cpp172
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLCastKernel.cpp105
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLDepthToSpaceKernel.cpp116
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLEmbeddingLookupKernel.cpp (renamed from libs/ARMComputeEx/src/core/CL/kernels/CLEmbeddingLookupKernel.cpp)0
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLGatherExKernel.cpp137
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLHashtableLookupKernel.cpp178
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLInstanceNormalizationLayerKernelEx.cpp177
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLNegKernel.cpp88
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLPReLUKernel.cpp186
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLReduceOperationKernel.cpp179
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLSpaceToBatchNDKernel.cpp241
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLSpaceToDepthKernel.cpp124
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLTopKV2Kernel.cpp473
-rw-r--r--compute/ARMComputeEx/src/core/CL/kernels/CLTransposeConvLayerUpsampleKernel.cpp164
-rw-r--r--compute/ARMComputeEx/src/core/CPP/kernels/CPPUpsampleKernelEx.cpp102
-rw-r--r--compute/ARMComputeEx/src/core/NEON/NEElementwiseOperationFuncs.cpp346
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEBinaryLogicalOperationKernel.cpp237
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NECastKernel.cpp653
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEDepthToSpaceLayerKernelEx.cpp165
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEElementwiseUnaryKernelEx.cpp205
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEEmbeddingLookupKernel.cpp118
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEGatherKernelEx.cpp252
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEHashtableLookupKernel.cpp181
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEInstanceNormalizationLayerKernelEx.cpp280
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEMultiplyScaleFactorKernel.cpp213
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEPReLUKernel.cpp274
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEQuantizationSymmetricKernel.cpp224
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NEReductionOperationKernelEx.cpp677
-rw-r--r--compute/ARMComputeEx/src/core/NEON/kernels/NESpaceToDepthLayerKernelEx.cpp165
-rw-r--r--compute/ARMComputeEx/src/core/UtilsEx.cpp45
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/CLFunctionsEx.cpp20
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLArgOperation.cpp120
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLBinaryLogicalOp.cpp (renamed from libs/ARMComputeEx/src/runtime/CL/functions/CLBinaryLogicalOp.cpp)0
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLCast.cpp28
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLDepthToSpace.cpp (renamed from libs/ARMComputeEx/src/runtime/CL/functions/CLDepthToSpace.cpp)0
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLEmbeddingLookup.cpp (renamed from libs/ARMComputeEx/src/runtime/CL/functions/CLEmbeddingLookup.cpp)0
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLFullyConnectedReshapingLayer.cpp60
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLGatherEx.cpp36
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLHashtableLookup.cpp (renamed from libs/ARMComputeEx/src/runtime/CL/functions/CLHashtableLookup.cpp)0
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLInstanceNormalizationLayerEx.cpp48
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLNeg.cpp (renamed from libs/ARMComputeEx/src/runtime/CL/functions/CLNeg.cpp)0
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLPReLU.cpp (renamed from libs/ARMComputeEx/src/runtime/CL/functions/CLPReLU.cpp)0
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLRNNLayerEx.cpp147
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLReduceOperation.cpp151
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLSpaceToBatchND.cpp (renamed from libs/ARMComputeEx/src/runtime/CL/functions/CLSpaceToBatchND.cpp)0
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLSpaceToDepth.cpp (renamed from libs/ARMComputeEx/src/runtime/CL/functions/CLSpaceToDepth.cpp)0
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLTopKV2.cpp311
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLTransposeConvLayer.cpp238
-rw-r--r--compute/ARMComputeEx/src/runtime/CL/functions/CLTransposeConvLayerUpsample.cpp67
-rw-r--r--compute/ARMComputeEx/src/runtime/CPP/functions/CPPUpsampleEx.cpp37
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/NEFunctionsEx.cpp20
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEArgMinMax.cpp109
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEBinaryLogicalOperation.cpp70
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NECast.cpp45
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEDepthToSpaceLayerEx.cpp48
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEElementwiseUnaryLayerEx.cpp44
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEEmbeddingLookup.cpp29
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEFullyConnectedHybridLayer.cpp282
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEFullyConnectedLayerEx.cpp477
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEFullyConnectedReshapingLayer.cpp91
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEGEMMLowpMatrixMultiplyCoreEx.cpp503
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEGatherEx.cpp47
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEHashtableLookup.cpp37
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEInstanceNormalizationLayerEx.cpp97
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEPReLU.cpp39
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NERNNLayerEx.cpp146
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEReduceMeanEx.cpp164
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEReduceOperation.cpp164
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEReduceSum.cpp165
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NEReductionOperationEx.cpp157
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NESpaceToBatchLayerEx.cpp99
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NESpaceToDepthLayerEx.cpp49
-rw-r--r--compute/ARMComputeEx/src/runtime/NEON/functions/NETransposeConvLayer.cpp307
-rw-r--r--compute/ARMComputeEx/src/runtime/misc/functions/GenericGather.cpp92
-rw-r--r--compute/ARMComputeEx/src/runtime/misc/functions/GenericReshapeLayer.cpp128
-rw-r--r--compute/ARMComputeEx/src/runtime/misc/functions/Utils.cpp38
-rw-r--r--compute/ARMComputeEx/src/runtime/topk_v2.h (renamed from libs/ARMComputeEx/src/runtime/topk_v2.h)0
-rw-r--r--compute/CMakeLists.txt1
-rw-r--r--compute/cker/CMakeLists.txt11
-rw-r--r--compute/cker/README.md7
-rw-r--r--compute/cker/include/cker/Shape.h286
-rw-r--r--compute/cker/include/cker/Types.h82
-rw-r--r--compute/cker/include/cker/Utils.h159
-rw-r--r--compute/cker/include/cker/eigen/Utils.h56
-rw-r--r--compute/cker/include/cker/gemmlowp/FixedPoint.h289
-rw-r--r--compute/cker/include/cker/operation/AveragePool.h101
-rw-r--r--compute/cker/include/cker/operation/BinaryArithmeticOps.h172
-rw-r--r--compute/cker/include/cker/operation/Concatenation.h93
-rw-r--r--compute/cker/include/cker/operation/Conv.h217
-rw-r--r--compute/cker/include/cker/operation/DepthwiseConv.h217
-rw-r--r--compute/cker/include/cker/operation/FullyConnected.h144
-rw-r--r--compute/cker/include/cker/operation/Gather.h78
-rw-r--r--compute/cker/include/cker/operation/InstanceNorm.h99
-rw-r--r--compute/cker/include/cker/operation/Logistic.h44
-rw-r--r--compute/cker/include/cker/operation/MaxPool.h98
-rw-r--r--compute/cker/include/cker/operation/Pad.h224
-rw-r--r--compute/cker/include/cker/operation/SoftMax.h130
-rw-r--r--compute/cker/include/cker/operation/TransposeConv.h135
-rw-r--r--compute/cker/include/cker/operation/optimized/AveragePool.h105
-rw-r--r--compute/cker/include/cker/operation/optimized/MaxPool.h97
-rw-r--r--compute/cker/include/cker/operation/optimized/SoftMax.h59
-rw-r--r--compute/cker/include/cker/operation/reference/AveragePool.h90
-rw-r--r--compute/cker/include/cker/operation/reference/MaxPool.h84
-rw-r--r--compute/cker/include/cker/operation/reference/SoftMax.h70
-rw-r--r--compute/ncnn/CMakeLists.txt34
-rw-r--r--compute/ncnn/README.md9
-rw-r--r--compute/ncnn/include/ncnn/layer/binaryop.h69
-rw-r--r--compute/ncnn/include/ncnn/layer/instance_norm.h59
-rw-r--r--compute/ncnn/include/ncnn/mat.h738
-rw-r--r--compute/ncnn/include/ncnn/srcn/conv_type.h74
-rw-r--r--compute/ncnn/include/ncnn/srcn/srcn_conv.h65
-rw-r--r--compute/ncnn/src/layer/arm/neon_mathfun.h315
-rw-r--r--compute/ncnn/src/layer/binaryop.cc1640
-rw-r--r--compute/ncnn/src/layer/instance_norm.cc371
-rw-r--r--compute/ncnn/src/mat.cc940
-rw-r--r--compute/ncnn/src/srcn/common.h162
-rw-r--r--compute/ncnn/src/srcn/conv_sgemm_multithreads.cc483
-rw-r--r--compute/ncnn/src/srcn/conv_sgemm_multithreads.h86
-rw-r--r--compute/ncnn/src/srcn/conv_sgemm_singlethread.cc366
-rw-r--r--compute/ncnn/src/srcn/conv_sgemm_singlethread.h73
-rw-r--r--compute/ncnn/src/srcn/conv_sparse.cc271
-rw-r--r--compute/ncnn/src/srcn/conv_sparse.h79
-rw-r--r--compute/ncnn/src/srcn/conv_winograd.cc341
-rw-r--r--compute/ncnn/src/srcn/conv_winograd.h72
-rw-r--r--compute/ncnn/src/srcn/conv_winograd_batch.cc304
-rw-r--r--compute/ncnn/src/srcn/conv_winograd_batch.h67
-rw-r--r--compute/ncnn/src/srcn/deconv_sgemm_multithreads.cc387
-rw-r--r--compute/ncnn/src/srcn/deconv_sgemm_multithreads.h85
-rw-r--r--compute/ncnn/src/srcn/depthwise_conv.cc2684
-rw-r--r--compute/ncnn/src/srcn/direct_conv_colmajor.cc5872
-rw-r--r--compute/ncnn/src/srcn/direct_conv_colmajor.h33
-rw-r--r--compute/ncnn/src/srcn/sgemm_kernel.cc2508
-rw-r--r--compute/ncnn/src/srcn/sgemm_kernel.h52
-rw-r--r--compute/ncnn/src/srcn/sgemm_pack.cc2316
-rw-r--r--compute/ncnn/src/srcn/sgemm_pack.h73
-rw-r--r--compute/ncnn/src/srcn/sgemm_singlethread.cc689
-rw-r--r--compute/ncnn/src/srcn/sgemm_singlethread.h88
-rw-r--r--compute/ncnn/src/srcn/sgemm_test.cc1883
-rw-r--r--compute/ncnn/src/srcn/srcn_conv.cc614
-rw-r--r--compute/ncnn/src/srcn/winograd.h148
-rw-r--r--contrib/CMakeLists.txt6
-rw-r--r--contrib/TFLiteSharp/TFLiteNative/include/tflite_log.h65
-rw-r--r--contrib/TFLiteSharp/TFLiteNative/include/tflite_nativewrapper.h56
-rw-r--r--contrib/TFLiteSharp/TFLiteNative/src/tflite_nativewrapper.cpp142
-rw-r--r--contrib/benchmark_acl/CMakeLists.txt24
-rw-r--r--contrib/benchmark_acl/src/Benchmark.cpp74
-rw-r--r--contrib/detection/detection.cpp73
-rw-r--r--contrib/labs/jniacl/CMakeLists.txt18
-rw-r--r--contrib/labs/jniacl/src/io_accessor.cc100
-rw-r--r--contrib/labs/jniacl/src/io_accessor.h93
-rw-r--r--contrib/labs/jniacl/src/jniacl_main.cc39
-rw-r--r--contrib/labs/kerneltesting/CMakeLists.txt19
-rw-r--r--contrib/labs/kerneltesting/conv2d/CMakeLists.txt15
-rw-r--r--contrib/labs/kerneltesting/conv2d/OperationUtils.h90
-rw-r--r--contrib/labs/kerneltesting/conv2d/common.h89
-rw-r--r--contrib/labs/kerneltesting/conv2d/compatibility.h78
-rw-r--r--contrib/labs/kerneltesting/conv2d/io_accessor.cpp124
-rw-r--r--contrib/labs/kerneltesting/conv2d/io_accessor.h104
-rw-r--r--contrib/labs/kerneltesting/conv2d/nnfw_conv2d_test.cpp607
-rw-r--r--contrib/labs/kerneltesting/conv2d/optimized_ops.h339
-rw-r--r--contrib/labs/kerneltesting/conv2d/types.h146
-rw-r--r--contrib/labs/opencl_test/CMakeLists.txt12
-rw-r--r--contrib/labs/opencl_test/src/opencl_test.cc397
-rw-r--r--contrib/labs/tflite_examples/src/conv.cpp330
-rw-r--r--contrib/tflite_classify/CMakeLists.txt22
-rw-r--r--contrib/tflite_classify/src/InferenceInterface.h93
-rw-r--r--contrib/tflite_test/tflite_test.cpp236
-rw-r--r--docs/HowToContribute.md24
-rw-r--r--docs/UseDoxygen.md36
-rw-r--r--docs/doxygen/Doxyfile2500
-rw-r--r--docs/fig/compiler_flow.pngbin0 -> 56456 bytes
-rw-r--r--docs/fig/nnfw_compiler_structure.pngbin0 -> 75343 bytes
-rw-r--r--docs/fig/nnfw_compiler_structure.pptxbin0 -> 40532 bytes
-rw-r--r--docs/fig/nnfw_components.pngbin0 -> 82620 bytes
-rw-r--r--docs/fig/nnfw_components.pptxbin0 -> 46596 bytes
-rw-r--r--docs/fig/nnfw_nativeapi_flow.pngbin0 -> 105745 bytes
-rw-r--r--docs/fig/nnfw_nativeapi_flow.pptxbin0 -> 51156 bytes
-rw-r--r--docs/fig/nnfw_nnapi_flow.pngbin0 -> 52314 bytes
-rw-r--r--docs/fig/nnfw_nnapi_flow.pptxbin0 -> 45988 bytes
-rw-r--r--docs/fig/nnfw_runtime_behavior.pngbin0 -> 51473 bytes
-rw-r--r--docs/fig/nnfw_runtime_behavior.pptxbin0 -> 45204 bytes
-rw-r--r--docs/fig/nnfw_runtime_structure.pngbin0 -> 64652 bytes
-rw-r--r--docs/fig/nnfw_runtime_structure.pptxbin0 -> 41044 bytes
-rw-r--r--docs/fig/runtime_nativeapi_flow.pngbin0 -> 63638 bytes
-rw-r--r--docs/howto.md36
-rw-r--r--docs/howto/CrossBuildForAarch64.md81
-rw-r--r--docs/howto/CrossBuildForArm.md107
-rw-r--r--docs/howto/HowToUseDockerImage.md168
-rw-r--r--docs/howto/device/xu4_tizen.md247
-rw-r--r--docs/nncc/README.md56
-rw-r--r--docs/nncc/design.md10
-rw-r--r--docs/nncc/getting_started.md73
-rw-r--r--docs/nncc/images/nncc_components.pngbin0 -> 45359 bytes
-rw-r--r--docs/nncc/images/nncc_idef0_a0.pngbin0 -> 50434 bytes
-rw-r--r--docs/nncc/images/nncc_idef0_a1.pngbin0 -> 86576 bytes
-rw-r--r--docs/nncc/images/nncc_idef0_a12.pngbin0 -> 42778 bytes
-rw-r--r--docs/nncc/project/detailed_level_design.md329
-rw-r--r--docs/nncc/project/development_document.md257
-rw-r--r--docs/nncc/project/high_level_design.md457
-rw-r--r--docs/nncc/project/requirements_specification.md272
-rw-r--r--docs/nncc/project/test_plan.md442
-rw-r--r--docs/nncc/project_guide.md27
-rw-r--r--docs/nncc/roadmap.md6
-rw-r--r--docs/nncc/v1.0.0/getting_started.md59
-rw-r--r--docs/nncc/v1.0.0/operation-list.md34
-rw-r--r--docs/nncc/v1.0.0/tutorial.md49
-rw-r--r--docs/nncc/v1.1.0/nncc_in_tizen_studio.md52
-rw-r--r--docs/nncc/v1.1.0/nncc_in_visual_studio.md61
-rw-r--r--docs/nnfw/2018/fig/nnfw_architecture.png (renamed from docs/fig/nnfw_architecture.png)bin28876 -> 28876 bytes
-rw-r--r--docs/nnfw/2018/fig/nnfw_architecture.pptx (renamed from docs/fig/nnfw_architecture.pptx)bin72036 -> 72036 bytes
-rw-r--r--docs/nnfw/2018/roadmap.md (renamed from docs/roadmap.md)0
-rw-r--r--docs/nnfw/HowToImplementOperatorKernel.md (renamed from docs/HowToImplementOperatorKernel.md)0
-rw-r--r--docs/nnfw/fig/nnfw_architecture.pngbin0 -> 280284 bytes
-rw-r--r--docs/nnfw/fig/nnfw_architecture.pptxbin0 -> 45709 bytes
-rw-r--r--docs/nnfw/fig/nnfw_behavior.png (renamed from docs/fig/nnfw_behavior.png)bin14254 -> 14254 bytes
-rw-r--r--docs/nnfw/fig/nnfw_behavior.pptx (renamed from docs/fig/nnfw_behavior.pptx)bin59844 -> 59844 bytes
-rw-r--r--docs/nnfw/howto.md38
-rw-r--r--docs/nnfw/howto/BuildTFfromSource.md (renamed from docs/howto/BuildTFfromSource.md)0
-rw-r--r--docs/nnfw/howto/CrossBuildForAarch64.md77
-rw-r--r--docs/nnfw/howto/CrossBuildForAndroid.md52
-rw-r--r--docs/nnfw/howto/CrossBuildForArm.md118
-rw-r--r--docs/nnfw/howto/HowToAddUnittest.md (renamed from docs/howto/HowToAddUnittest.md)0
-rw-r--r--docs/nnfw/howto/HowToRunNnpackge.md75
-rw-r--r--docs/nnfw/howto/HowToTestManualy.md62
-rw-r--r--docs/nnfw/howto/HowToUseDockerImage.md154
-rw-r--r--docs/nnfw/howto/HowToUseNNFWAPI.md63
-rw-r--r--docs/nnfw/howto/HowtoMakeSampleAppOnNnfw.md132
-rw-r--r--docs/nnfw/howto/RemoteDebuggingForVSCode.md147
-rw-r--r--docs/nnfw/howto/device/xu3-dip.png (renamed from docs/howto/device/xu3-dip.png)bin262925 -> 262925 bytes
-rw-r--r--docs/nnfw/howto/device/xu3_tizen.md140
-rw-r--r--docs/nnfw/howto/device/xu3_ubuntu.md (renamed from docs/howto/device/xu3_ubuntu.md)0
-rw-r--r--docs/nnfw/howto/device/xu4_tizen.md228
-rw-r--r--docs/nnfw/howto/device/xu4_ubuntu.md (renamed from docs/howto/device/xu4_ubuntu.md)0
-rw-r--r--docs/nnfw/op_list.md71
-rw-r--r--docs/nnfw/roadmap.md76
-rw-r--r--docs/nnfw/tests/Convolution_manual_3x3.xlsx (renamed from docs/tests/Convolution_manual_3x3.xlsx)bin19844 -> 19844 bytes
-rw-r--r--docs/nnfw/tests/Softmax_manual.xlsx (renamed from docs/tests/Softmax_manual.xlsx)bin15940 -> 15940 bytes
-rw-r--r--docs/project/2018_high_level_design.md79
-rw-r--r--docs/project/2018_requirement_specification.md113
-rw-r--r--docs/release/release_note_1.0.0.md65
-rw-r--r--docs/release/release_note_1.1.0.md40
-rw-r--r--docs/workgroups.md19
-rw-r--r--externals/CMakeLists.txt122
-rw-r--r--externals/nnapi_test_generator/README.md11
-rw-r--r--externals/nnapi_test_generator/include/TestHarness.h209
-rwxr-xr-xexternals/nnapi_test_generator/slicing.py167
-rwxr-xr-xexternals/nnapi_test_generator/test_generator.py775
-rw-r--r--externals/nnapi_test_generator/tests/P_conv/conv_1_h3_w2_SAME.mod.py11
-rw-r--r--externals/nnapi_test_generator/tests/P_conv/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_conv/stdout.txt.expect41
-rw-r--r--externals/nnapi_test_generator/tests/P_depthwise_conv/depthwise_conv.bin.mod.py11
-rw-r--r--externals/nnapi_test_generator/tests/P_depthwise_conv/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_depthwise_conv/stdout.txt.expect43
-rw-r--r--externals/nnapi_test_generator/tests/P_explicit/explicit_add.mod.py7
-rw-r--r--externals/nnapi_test_generator/tests/P_explicit/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_explicit/stdout.txt.expect21
-rw-r--r--externals/nnapi_test_generator/tests/P_float/addfloat.mod.py8
-rw-r--r--externals/nnapi_test_generator/tests/P_float/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_float/stdout.txt.expect23
-rw-r--r--externals/nnapi_test_generator/tests/P_full/addfloat.mod.py22
-rw-r--r--externals/nnapi_test_generator/tests/P_full/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_full/stdout.txt.expect46
-rw-r--r--externals/nnapi_test_generator/tests/P_lstm/lstm.mod.py161
-rw-r--r--externals/nnapi_test_generator/tests/P_lstm/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_lstm/stdout.txt.expect75
-rw-r--r--externals/nnapi_test_generator/tests/P_quantized_avgpool/averpoolfloat.mod.py20
-rw-r--r--externals/nnapi_test_generator/tests/P_quantized_avgpool/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_quantized_avgpool/stdout.txt.expect48
-rw-r--r--externals/nnapi_test_generator/tests/P_quantized_conv/quantized.mod.py11
-rw-r--r--externals/nnapi_test_generator/tests/P_quantized_conv/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_quantized_conv/stdout.txt.expect40
-rw-r--r--externals/nnapi_test_generator/tests/P_vts_full/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_vts_full/stdout.txt.expect93
-rw-r--r--externals/nnapi_test_generator/tests/P_vts_full/vts_full.mod.py19
-rw-r--r--externals/nnapi_test_generator/tests/P_vts_operands/addfloat.mod.py12
-rw-r--r--externals/nnapi_test_generator/tests/P_vts_operands/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_vts_operands/stdout.txt.expect103
-rw-r--r--externals/nnapi_test_generator/tests/P_weird/stderr.txt.expect2
-rw-r--r--externals/nnapi_test_generator/tests/P_weird/stdout.txt.expect51
-rw-r--r--externals/nnapi_test_generator/tests/P_weird/weird_add.mod.py29
-rwxr-xr-xexternals/nnapi_test_generator/tests/test.py328
-rwxr-xr-xexternals/nnapi_test_generator/vts_generator.py247
-rw-r--r--include/NeuralNetworks.h2578
-rw-r--r--include/NeuralNetworksEx.h670
-rw-r--r--include/NeuralNetworksLoadHelpers.h132
-rw-r--r--infra/3rdparty/.gitignore1
-rw-r--r--infra/3rdparty/Eigen/fd6845384b86/URL.default1
-rw-r--r--infra/3rdparty/Eigen/fd6845384b86/URL.info3
-rw-r--r--infra/cmake/modules/AddSubdirectories.cmake (renamed from cmake/modules/ExtendCMakeFunction.cmake)0
-rw-r--r--infra/cmake/modules/Asserts.cmake8
-rw-r--r--infra/cmake/modules/ExternalBuildTools.cmake79
-rw-r--r--infra/cmake/modules/ExternalProjectTools.cmake8
-rw-r--r--infra/cmake/modules/ExternalSourceTools.cmake139
-rw-r--r--infra/cmake/modules/IdentifyPlatform.cmake58
-rw-r--r--infra/cmake/modules/ListFile.cmake12
-rw-r--r--infra/cmake/modules/OptionTools.cmake9
-rw-r--r--infra/cmake/modules/OptionalTargetTools.cmake5
-rw-r--r--infra/cmake/modules/StampTools.cmake18
-rw-r--r--infra/cmake/modules/TargetRequire.cmake45
-rw-r--r--infra/cmake/modules/ThirdPartyTools.cmake42
-rw-r--r--infra/cmake/packages/ARMCompute/SConstruct309
-rw-r--r--infra/cmake/packages/ARMComputeConfig.cmake191
-rw-r--r--infra/cmake/packages/ARMComputeSourceConfig.cmake13
-rw-r--r--infra/cmake/packages/AbseilConfig.cmake37
-rw-r--r--infra/cmake/packages/AbseilSourceConfig.cmake24
-rw-r--r--infra/cmake/packages/BoostConfig.cmake58
-rw-r--r--infra/cmake/packages/BoostSourceConfig.cmake14
-rw-r--r--infra/cmake/packages/Caffe/CMakeLists.txt15
-rw-r--r--infra/cmake/packages/CaffeConfig.cmake62
-rw-r--r--infra/cmake/packages/CaffeProto/CMakeLists.txt6
-rw-r--r--infra/cmake/packages/CaffeProtoConfig.cmake24
-rw-r--r--infra/cmake/packages/CaffeSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/CpuinfoSourceConfig.cmake14
-rw-r--r--infra/cmake/packages/EigenConfig.cmake17
-rw-r--r--infra/cmake/packages/EigenSource-fd6845384b86Config.cmake26
-rw-r--r--infra/cmake/packages/EigenSourceConfig.cmake19
-rw-r--r--infra/cmake/packages/Enum34SourceConfig.cmake14
-rw-r--r--infra/cmake/packages/FP16SourceConfig.cmake14
-rw-r--r--infra/cmake/packages/FXdivSourceConfig.cmake14
-rw-r--r--infra/cmake/packages/Farmhash/CMakeLists.txt3
-rw-r--r--infra/cmake/packages/FarmhashConfig.cmake17
-rw-r--r--infra/cmake/packages/FarmhashSourceConfig.cmake19
-rw-r--r--infra/cmake/packages/FlatBuffersConfig.cmake115
-rw-r--r--infra/cmake/packages/FlatBuffersSource-1.10/FlatBuffersSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/FlatBuffersSource-1.10/FlatBuffersSourceConfigVersion.cmake10
-rw-r--r--infra/cmake/packages/FlatBuffersSource-1.8/FlatBuffersSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/FlatBuffersSource-1.8/FlatBuffersSourceConfigVersion.cmake10
-rw-r--r--infra/cmake/packages/FlatBuffersSourceConfig.cmake25
-rw-r--r--infra/cmake/packages/FlatBuffersSourceConfigVersion.cmake9
-rw-r--r--infra/cmake/packages/GEMMLowpConfig.cmake20
-rw-r--r--infra/cmake/packages/GEMMLowpSourceConfig.cmake19
-rw-r--r--infra/cmake/packages/GFlagsConfig.cmake35
-rw-r--r--infra/cmake/packages/GFlagsSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/GLogConfig.cmake24
-rw-r--r--infra/cmake/packages/GTestConfig.cmake52
-rw-r--r--infra/cmake/packages/GTestSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/GoogleDoubleConversionConfig.cmake52
-rw-r--r--infra/cmake/packages/GoogleNSyncConfig.cmake62
-rw-r--r--infra/cmake/packages/LLVMConfig.cmake45
-rw-r--r--infra/cmake/packages/NEON2SSEConfig.cmake17
-rw-r--r--infra/cmake/packages/NEON2SSESourceConfig.cmake19
-rw-r--r--infra/cmake/packages/NNPACKConfig.cmake51
-rw-r--r--infra/cmake/packages/NNPACKSourceConfig.cmake20
-rw-r--r--infra/cmake/packages/Nonius/html_report_template.g.h++433
-rw-r--r--infra/cmake/packages/NoniusConfig.cmake26
-rw-r--r--infra/cmake/packages/NoniusSourceConfig.cmake13
-rw-r--r--infra/cmake/packages/ONNXRuntimeConfig.cmake29
-rw-r--r--infra/cmake/packages/ONNXSource-1.4.1/ONNXSourceConfig.cmake20
-rw-r--r--infra/cmake/packages/ONNXSource-1.4.1/ONNXSourceConfigVersion.cmake10
-rw-r--r--infra/cmake/packages/ONNXSource-1.6.0/ONNXSourceConfig.cmake20
-rw-r--r--infra/cmake/packages/ONNXSource-1.6.0/ONNXSourceConfigVersion.cmake10
-rw-r--r--infra/cmake/packages/OpcodesSourceConfig.cmake13
-rw-r--r--infra/cmake/packages/PSIMDSourceConfig.cmake14
-rw-r--r--infra/cmake/packages/PeachpySourceConfig.cmake31
-rw-r--r--infra/cmake/packages/ProtobufConfig.cmake106
-rw-r--r--infra/cmake/packages/ProtobufSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/PthreadpoolSourceConfig.cmake14
-rw-r--r--infra/cmake/packages/PytorchSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/SixSourceConfig.cmake14
-rw-r--r--infra/cmake/packages/TensorFlowConfig.cmake53
-rw-r--r--infra/cmake/packages/TensorFlowLite-1.12/Lite/CMakeLists.txt41
-rw-r--r--infra/cmake/packages/TensorFlowLite-1.12/TensorFlowLiteConfig.cmake62
-rw-r--r--infra/cmake/packages/TensorFlowLite-1.12/TensorFlowLiteConfigVersion.cmake9
-rw-r--r--infra/cmake/packages/TensorFlowLite-1.7/Lite/CMakeLists.txt38
-rw-r--r--infra/cmake/packages/TensorFlowLite-1.7/TensorFlowLiteConfig.cmake55
-rw-r--r--infra/cmake/packages/TensorFlowLite-1.7/TensorFlowLiteConfigVersion.cmake9
-rw-r--r--infra/cmake/packages/TensorFlowProtoText-1.12/TensorFlowProtoTextConfig.cmake104
-rw-r--r--infra/cmake/packages/TensorFlowProtoText-1.12/TensorFlowProtoTextConfigVersion.cmake9
-rw-r--r--infra/cmake/packages/TensorFlowProtoText-1.12/build/CMakeLists.txt78
-rwxr-xr-xinfra/cmake/packages/TensorFlowProtoText-1.12/make_directories.sh6
-rw-r--r--infra/cmake/packages/TensorFlowSource-1.12/TensorFlowSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/TensorFlowSource-1.12/TensorFlowSourceConfigVersion.cmake10
-rw-r--r--infra/cmake/packages/TensorFlowSource-1.13.1/TensorFlowSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/TensorFlowSource-1.13.1/TensorFlowSourceConfigVersion.cmake10
-rw-r--r--infra/cmake/packages/TensorFlowSource-1.14/TensorFlowSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/TensorFlowSource-1.14/TensorFlowSourceConfigVersion.cmake10
-rw-r--r--infra/cmake/packages/TensorFlowSource-1.7/TensorFlowSourceConfig.cmake18
-rw-r--r--infra/cmake/packages/TensorFlowSource-1.7/TensorFlowSourceConfigVersion.cmake10
-rw-r--r--infra/cmake/packages/TensorFlowVersionChecker.c9
-rw-r--r--infra/command/build-docker-image50
-rw-r--r--infra/command/create-package3
-rw-r--r--infra/command/docker-run10
-rw-r--r--infra/command/doxygen18
-rw-r--r--infra/command/format198
-rw-r--r--infra/command/gen-coverage-report79
-rw-r--r--infra/command/install-githooks15
-rw-r--r--infra/command/pylint37
-rw-r--r--infra/command/verify-package3
-rw-r--r--infra/config/build.configuration1
-rw-r--r--infra/config/docker.configuration52
-rw-r--r--infra/docker/Dockerfile67
-rw-r--r--infra/docker/Dockerfile.180446
-rw-r--r--infra/doxygen/Doxyfile2501
-rwxr-xr-xinfra/git-hooks/pre-push.sh32
-rw-r--r--infra/nncc/CMakeLists.txt150
-rw-r--r--infra/nncc/command/build11
-rw-r--r--infra/nncc/command/check-copyright62
-rw-r--r--infra/nncc/command/configure10
-rw-r--r--infra/nncc/command/docker-nncc10
-rw-r--r--infra/nncc/command/docker-run10
-rw-r--r--infra/nncc/command/docker-shell11
-rw-r--r--infra/nncc/command/test13
-rw-r--r--infra/nncc/config/build.configuration1
-rw-r--r--infra/nncc/config/docker.configuration46
-rw-r--r--infra/nnfw/CMakeLists.txt108
-rw-r--r--infra/nnfw/cmake/ApplyCompileFlags.cmake39
-rw-r--r--infra/nnfw/cmake/CfgOptionFlags.cmake77
-rw-r--r--infra/nnfw/cmake/buildtool/config/config_aarch64-android.cmake9
-rw-r--r--infra/nnfw/cmake/buildtool/config/config_aarch64-linux.cmake12
-rw-r--r--infra/nnfw/cmake/buildtool/config/config_aarch64-tizen.cmake13
-rw-r--r--infra/nnfw/cmake/buildtool/config/config_armv7l-linux.cmake18
-rw-r--r--infra/nnfw/cmake/buildtool/config/config_armv7l-tizen.cmake18
-rw-r--r--infra/nnfw/cmake/buildtool/config/config_linux.cmake21
-rw-r--r--infra/nnfw/cmake/buildtool/config/config_x86_64-linux.cmake12
-rw-r--r--infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-android.cmake25
-rw-r--r--infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-linux.cmake39
-rw-r--r--infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-tizen.cmake62
-rw-r--r--infra/nnfw/cmake/buildtool/cross/toolchain_armv7l-linux.cmake39
-rw-r--r--infra/nnfw/cmake/buildtool/cross/toolchain_armv7l-tizen.cmake66
-rw-r--r--infra/nnfw/cmake/options/options_aarch64-android.cmake17
-rw-r--r--infra/nnfw/cmake/options/options_aarch64-linux.cmake5
-rw-r--r--infra/nnfw/cmake/options/options_aarch64-tizen.cmake15
-rw-r--r--infra/nnfw/cmake/options/options_armv7l-linux.cmake6
-rw-r--r--infra/nnfw/cmake/options/options_armv7l-tizen.cmake14
-rw-r--r--infra/nnfw/cmake/options/options_x86_64-linux.cmake5
-rw-r--r--infra/nnfw/cmake/packages/AbslSourceConfig.cmake14
-rw-r--r--infra/nnfw/cmake/packages/EigenConfig.cmake17
-rw-r--r--infra/nnfw/cmake/packages/EigenSourceConfig.cmake14
-rw-r--r--infra/nnfw/cmake/packages/FarmhashSourceConfig.cmake14
-rw-r--r--infra/nnfw/cmake/packages/FlatBuffersConfig.cmake (renamed from cmake/packages/FlatBuffersConfig.cmake)0
-rw-r--r--infra/nnfw/cmake/packages/FlatBuffersSourceConfig.cmake14
-rw-r--r--infra/nnfw/cmake/packages/GEMMLowpSourceConfig.cmake14
-rw-r--r--infra/nnfw/cmake/packages/GTestConfig.cmake99
-rw-r--r--infra/nnfw/cmake/packages/HDF5Config.cmake31
-rw-r--r--infra/nnfw/cmake/packages/NEON2SSESourceConfig.cmake20
-rw-r--r--infra/nnfw/cmake/packages/TensorFlowLite/CMakeLists.txt63
-rw-r--r--infra/nnfw/cmake/packages/TensorFlowLiteConfig.cmake69
-rw-r--r--infra/nnfw/cmake/packages/TensorFlowSourceConfig.cmake18
-rw-r--r--infra/nnfw/cmake/packages/TensorflowConfig.cmake44
-rw-r--r--infra/nnfw/command/build24
-rw-r--r--infra/nnfw/command/configure26
-rw-r--r--infra/nnfw/command/copyright-check45
-rw-r--r--infra/nnfw/command/docker-run12
-rw-r--r--infra/nnfw/command/docker-run-user12
-rw-r--r--infra/nnfw/command/docker-shell13
-rw-r--r--infra/nnfw/command/gen-coverage-report59
-rw-r--r--infra/nnfw/command/install11
-rw-r--r--infra/nnfw/config/build.configuration6
-rw-r--r--infra/nnfw/config/docker.configuration44
-rw-r--r--infra/nnfw/config/gbs.conf20
-rw-r--r--infra/packaging/build95
-rw-r--r--infra/packaging/chklist/LAYOUT_19111547
-rw-r--r--infra/packaging/chklist/LAYOUT_19121539
-rw-r--r--infra/packaging/chklist/TF2CIRCLE_EXIST13
-rw-r--r--infra/packaging/chklist/TF2CIRCLE_RUNNABLE16
-rw-r--r--infra/packaging/chklist/TF2NNPKG_EXIST13
-rw-r--r--infra/packaging/chklist/TF2TFLITE_EXIST13
-rw-r--r--infra/packaging/chklist/TF2TFLITE_RUNNABLE13
-rw-r--r--infra/packaging/preset/2019111549
-rw-r--r--infra/packaging/preset/2019121542
-rw-r--r--infra/packaging/preset/20191231_windows51
-rw-r--r--infra/packaging/preset/20200115_windows50
-rw-r--r--infra/packaging/res/tf2nnpkg87
-rw-r--r--infra/packaging/res/tf2nnpkg.2019121568
-rw-r--r--infra/packaging/res/tflite_schema.fbs698
-rw-r--r--infra/packaging/verify82
-rw-r--r--infra/scripts/common.sh133
-rwxr-xr-xinfra/scripts/docker_build_cross_arm_benchmark_model.sh51
-rwxr-xr-xinfra/scripts/docker_build_cross_arm_neurun.sh48
-rwxr-xr-xinfra/scripts/docker_build_cross_arm_neurun_release.sh49
-rwxr-xr-xinfra/scripts/docker_build_cross_coverage.sh58
-rwxr-xr-xinfra/scripts/docker_build_nncc.sh60
-rwxr-xr-xinfra/scripts/docker_build_test_x64.sh48
-rwxr-xr-xinfra/scripts/docker_build_tizen_cross.sh50
-rwxr-xr-xinfra/scripts/docker_build_tizen_gbs.sh31
-rwxr-xr-xinfra/scripts/docker_collect_nnpkg_resources.sh104
-rwxr-xr-xinfra/scripts/docker_coverage_report.sh32
-rwxr-xr-xinfra/scripts/test_arm_neurun_acl_cl.sh31
-rwxr-xr-xinfra/scripts/test_arm_neurun_acl_neon.sh27
-rwxr-xr-xinfra/scripts/test_arm_neurun_cpu.sh23
-rwxr-xr-xinfra/scripts/test_arm_neurun_mixed.sh30
-rwxr-xr-xinfra/scripts/test_arm_nnpkg.sh16
-rwxr-xr-xinfra/scripts/test_coverage.sh52
-rwxr-xr-xinfra/scripts/test_make_nnpkg.sh35
-rwxr-xr-xinfra/scripts/test_neurun_interp.sh11
-rwxr-xr-xinfra/scripts/test_x64_neurun_cpu.sh12
-rwxr-xr-xinfra/scripts/tizen_xu4_test.sh154
-rw-r--r--libs/ARMComputeEx/CMakeLists.txt21
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/OpenCLEx.h79
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLActivationLayerExKernel.h78
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLArgMinMaxKernel.h106
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLArithmeticSubtractionExKernel.h81
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLBatchToSpaceNDKernel.h58
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLCastKernel.h96
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLComparisonOpKernel.h61
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLExpKernel.h57
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLGatherKernel.h104
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLHashtableLookupKernel.h129
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLNormalizationLayerExKernel.h81
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLPadLayerKernel.h60
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLPermuteExKernel.h73
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLPixelWiseDivisionKernel.h125
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLSpaceToBatchNDKernel.h69
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLSquaredDifferenceKernel.h59
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLStridedSliceExKernel.h142
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLTopKV2Kernel.h653
-rw-r--r--libs/ARMComputeEx/arm_compute/core/NEON/kernels/NENormalizationLayerExKernel.h113
-rw-r--r--libs/ARMComputeEx/arm_compute/core/TypesEx.h100
-rw-r--r--libs/ARMComputeEx/arm_compute/core/UtilsEx.h37
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLActivationLayerEx.h63
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLArgMinMax.h114
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLArithmeticSubtractionEx.h62
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLCast.h50
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLComparisonOp.h42
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLExp.h38
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLGather.h60
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLNormalizationLayerEx.h77
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLPadLayerEx.h47
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLPermuteEx.h51
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLReduceOperation.h87
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLSquaredDifference.h40
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLTopKV2.h137
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/NEON/functions/NENormalizationLayerEx.h83
-rw-r--r--libs/ARMComputeEx/src/core/CL/CLKernelLibrary.cpp409
-rw-r--r--libs/ARMComputeEx/src/core/CL/OpenCLEx.cpp123
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/activation_layer_ex.cl89
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/arg_operation.cl94
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/arithmetic_op_ex.cl74
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/arithmetic_op_quantized.cl126
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/batch_to_space_nd.cl70
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/binary_logical_op.cl84
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/cast.cl146
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/comparison_op.cl86
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/comparison_op_quantized.cl93
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/depth_to_space.cl69
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/embedding_lookup.cl84
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/exp.cl57
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/gather.cl98
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/hashtable_lookup.cl88
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/neg_tensor.cl48
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/pad.cl86
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/permute_ex.cl72
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/pixelwise_div_float.cl88
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/pixelwise_div_int.cl80
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/pixelwise_mul_quantized.cl111
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/prelu.cl74
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/prelu_quantized.cl88
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/reduce_operation.cl152
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/space_to_batch.cl163
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/space_to_depth.cl69
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/squared_difference.cl75
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/strided_slice_ex.cl63
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/topkv2.cl103
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/topkv2_quicksort.cl130
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/topkv2_radixsort.cl271
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLActivationLayerExKernel.cpp211
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLArgMinMaxKernel.cpp159
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLArithmeticSubtractionExKernel.cpp216
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLBatchToSpaceNDKernel.cpp117
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLBinaryLogicalOpKernel.cpp173
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLCastKernel.cpp102
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLComparisonOpKernel.cpp212
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLDepthToSpaceKernel.cpp109
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLExpKernel.cpp77
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLGatherKernel.cpp129
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLHashtableLookupKernel.cpp177
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLNegKernel.cpp89
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLNormalizationLayerExKernel.cpp166
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLPReLUKernel.cpp185
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLPadLayerKernel.cpp149
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLPermuteExKernel.cpp126
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLPixelWiseDivisionKernel.cpp280
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLReduceOperationKernel.cpp181
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLSpaceToBatchNDKernel.cpp238
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLSpaceToDepthKernel.cpp113
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLSquaredDifferenceKernel.cpp170
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLStridedSliceExKernel.cpp253
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLTopKV2Kernel.cpp468
-rw-r--r--libs/ARMComputeEx/src/core/NEON/kernels/NENormalizationLayerExKernel.cpp294
-rw-r--r--libs/ARMComputeEx/src/core/UtilsEx.cpp34
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLActivationLayerEx.cpp35
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLArgMinMax.cpp120
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLArithmeticSubtractionEx.cpp46
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLBatchToSpaceND.cpp28
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLCast.cpp28
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLComparisonOp.cpp40
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLExp.cpp28
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLGather.cpp34
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLNormalizationLayerEx.cpp50
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLPadLayerEx.cpp28
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLPermuteEx.cpp36
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLPixelWiseDivision.cpp49
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLReduceOperation.cpp123
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLSquaredDifference.cpp39
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLStridedSliceEx.cpp30
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLTopKV2.cpp302
-rw-r--r--libs/ARMComputeEx/src/runtime/NEON/functions/NENormalizationLayerEx.cpp74
-rw-r--r--libs/cpp14/include/cpp14/memory.h29
-rw-r--r--libs/misc/CMakeLists.txt13
-rw-r--r--libs/misc/examples/tensor_index_iterator.cpp74
-rw-r--r--libs/misc/include/misc/EnvVar.h107
-rw-r--r--libs/misc/include/misc/environment.h130
-rw-r--r--libs/misc/include/misc/kernel/RandomObject.h77
-rw-r--r--libs/misc/include/misc/tensor/Index.h105
-rw-r--r--libs/misc/include/misc/tensor/IndexEnumerator.h131
-rw-r--r--libs/misc/include/misc/tensor/NonIncreasingStride.h83
-rw-r--r--libs/misc/include/misc/tensor/Object.h100
-rw-r--r--libs/misc/include/misc/tensor/Shape.h152
-rw-r--r--libs/misc/src/environment.cpp95
-rw-r--r--libs/misc/src/tensor/Comparator.cpp40
-rw-r--r--libs/misc/src/tensor/Shape.cpp99
-rw-r--r--libs/profiling/CMakeLists.txt5
-rw-r--r--libs/profiling/include/profiling/profile_buffer.h170
-rw-r--r--libs/profiling/include/profiling/profiler.h203
-rw-r--r--libs/profiling/include/profiling/time.h35
-rw-r--r--libs/profiling/src/profiling/time.cpp55
-rw-r--r--libs/tflite/CMakeLists.txt12
-rw-r--r--libs/tflite/include/tflite/Assert.h45
-rw-r--r--libs/tflite/include/tflite/Diff.h199
-rw-r--r--libs/tflite/include/tflite/FeatureView.h106
-rw-r--r--libs/tflite/include/tflite/NNAPISession.h101
-rw-r--r--libs/tflite/include/tflite/Quantization.h44
-rw-r--r--libs/tflite/include/tflite/Session.h69
-rw-r--r--libs/tflite/include/tflite/TensorLogger.h168
-rw-r--r--libs/tflite/include/tflite/TensorUtils.h54
-rw-r--r--libs/tflite/include/tflite/TensorView.h120
-rw-r--r--libs/tflite/include/tflite/ext/kernels/Abs.h41
-rw-r--r--libs/tflite/include/tflite/ext/kernels/CustomOps.h60
-rw-r--r--libs/tflite/include/tflite/ext/kernels/SquaredDifference.h76
-rw-r--r--libs/tflite/include/tflite/ext/kernels/TensorFlowMax.h75
-rw-r--r--libs/tflite/include/tflite/ext/kernels/TensorFlowSum.h41
-rw-r--r--libs/tflite/include/tflite/ext/kernels/register.h42
-rw-r--r--libs/tflite/include/tflite/ext/nnapi_delegate.h97
-rw-r--r--libs/tflite/include/tflite/interp/Builder.h53
-rw-r--r--libs/tflite/include/tflite/interp/FlatBufferBuilder.h64
-rw-r--r--libs/tflite/include/tflite/interp/FunctionBuilder.h67
-rw-r--r--libs/tflite/src/Diff.cpp598
-rw-r--r--libs/tflite/src/TensorShapeUtils.cpp48
-rw-r--r--libs/tflite/src/ext/kernels/Abs.cpp103
-rw-r--r--libs/tflite/src/ext/kernels/SquaredDifference.cpp112
-rw-r--r--libs/tflite/src/ext/kernels/TensorFlowMax.cpp405
-rw-r--r--libs/tflite/src/ext/kernels/TensorFlowSum.cpp400
-rw-r--r--libs/tflite/src/ext/kernels/register.cpp221
-rw-r--r--libs/tflite/src/ext/nnapi_delegate.cpp1209
-rw-r--r--libs/tflite/src/ext/nnapi_delegate_ex_AddOpsAndParams_lambda.inc106
-rw-r--r--libs/tflite/src/interp/FlatBufferBuilder.cpp40
-rw-r--r--libs/tflite/src/interp/FunctionBuilder.cpp34
-rwxr-xr-xnnas38
-rwxr-xr-xnncc43
-rwxr-xr-xnnfw41
-rw-r--r--nnpackage/examples/one_op_in_tflite/add.tflitebin0 -> 460 bytes
-rw-r--r--nnpackage/examples/one_op_in_tflite/metadata/MANIFEST7
-rw-r--r--nnpackage/schema/circle_schema.fbs811
-rw-r--r--nnpackage/spec/00_requirement.md28
-rw-r--r--nnpackage/spec/10_packaging_and_manifest.md92
-rw-r--r--nnpackage/spec/20_model_and_operators.md134
-rw-r--r--nnpackage/spec/30_custom_op.md86
-rw-r--r--packaging/flatbuffers.tar.gzbin0 -> 756075 bytes
-rw-r--r--packaging/gtest.tar.gzbin0 -> 1287188 bytes
-rw-r--r--packaging/nnapi_test_generated.tar.gzbin0 -> 482609 bytes
-rw-r--r--packaging/nnfw.pc.in5
-rw-r--r--packaging/nnfw.spec144
-rw-r--r--res/BVLCCaffeTests/BatchNorm_000/INFERENCE (renamed from tools/.FORMATCHECKED)0
-rw-r--r--res/BVLCCaffeTests/BatchNorm_000/test.prototxt17
-rw-r--r--res/BVLCCaffeTests/Concat_000/INFERENCE (renamed from tests/.FORMATCHECKED)0
-rw-r--r--res/BVLCCaffeTests/Concat_000/test.prototxt23
-rw-r--r--res/BVLCCaffeTests/Convolution_000/INFERENCE (renamed from runtimes/pure_arm_compute/.FORMATCHECKED)0
-rw-r--r--res/BVLCCaffeTests/Convolution_000/test.prototxt23
-rw-r--r--res/BVLCCaffeTests/Convolution_001/INFERENCE (renamed from runtimes/neurun/.FORMATCHECKED)0
-rw-r--r--res/BVLCCaffeTests/Convolution_001/test.prototxt24
-rw-r--r--res/BVLCCaffeTests/Convolution_002/INFERENCE (renamed from libs/.FORMATCHECKED)0
-rw-r--r--res/BVLCCaffeTests/Convolution_002/test.prototxt24
-rw-r--r--res/BVLCCaffeTests/Convolution_003/INFERENCE (renamed from include/.FORMATCHECKED)0
-rw-r--r--res/BVLCCaffeTests/Convolution_003/test.prototxt25
-rw-r--r--res/BVLCCaffeTests/Convolution_004/INFERENCE (renamed from contrib/tflite_classify/.FORMATCHECKED)0
-rw-r--r--res/BVLCCaffeTests/Convolution_004/test.prototxt24
-rw-r--r--res/BVLCCaffeTests/Convolution_005/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Convolution_005/test.prototxt21
-rw-r--r--res/BVLCCaffeTests/Convolution_006/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Convolution_006/test.prototxt24
-rw-r--r--res/BVLCCaffeTests/Convolution_007/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Convolution_007/test.prototxt26
-rw-r--r--res/BVLCCaffeTests/Eltwise_000/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Eltwise_000/test.prototxt20
-rw-r--r--res/BVLCCaffeTests/Eltwise_001/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Eltwise_001/test.prototxt20
-rw-r--r--res/BVLCCaffeTests/Input_000/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Input_000/test.prototxt8
-rw-r--r--res/BVLCCaffeTests/Input_001/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Input_001/test.prototxt12
-rw-r--r--res/BVLCCaffeTests/Pooling_000/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Pooling_000/test.prototxt16
-rw-r--r--res/BVLCCaffeTests/Pooling_001/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Pooling_001/test.prototxt17
-rw-r--r--res/BVLCCaffeTests/Pooling_002/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Pooling_002/test.prototxt16
-rw-r--r--res/BVLCCaffeTests/Pooling_003/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Pooling_003/test.prototxt17
-rw-r--r--res/BVLCCaffeTests/Pooling_004/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Pooling_004/test.prototxt17
-rw-r--r--res/BVLCCaffeTests/Pooling_005/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Pooling_005/test.prototxt17
-rw-r--r--res/BVLCCaffeTests/ReLU_000/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/ReLU_000/test.prototxt14
-rw-r--r--res/BVLCCaffeTests/Regression_0000/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Regression_0000/test.prototxt17
-rw-r--r--res/BVLCCaffeTests/Scale_000/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Scale_000/test.prototxt16
-rw-r--r--res/BVLCCaffeTests/Scale_001/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/Scale_001/test.prototxt17
-rw-r--r--res/BVLCCaffeTests/inception_c1/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/inception_c1/test.prototxt252
-rw-r--r--res/BVLCCaffeTests/residual/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/residual/test.prototxt72
-rw-r--r--res/BVLCCaffeTests/residual_bn/INFERENCE0
-rw-r--r--res/BVLCCaffeTests/residual_bn/test.prototxt110
-rw-r--r--res/ONNXTests/UNIT_Identity_000/test.pbtxt47
-rw-r--r--res/TensorFlowTests/NET_0000/test.info3
-rw-r--r--res/TensorFlowTests/NET_0000/test.pbtxt102
-rw-r--r--res/TensorFlowTests/NET_0001/test.info2
-rw-r--r--res/TensorFlowTests/NET_0001/test.pbtxt160
-rw-r--r--res/TensorFlowTests/NET_0002/test.info2
-rw-r--r--res/TensorFlowTests/NET_0002/test.pbtxt135
-rw-r--r--res/TensorFlowTests/NET_0003/test.info2
-rw-r--r--res/TensorFlowTests/NET_0003/test.pbtxt238
-rw-r--r--res/TensorFlowTests/NET_0003/test.py15
-rw-r--r--res/TensorFlowTests/NET_0004/test.info2
-rw-r--r--res/TensorFlowTests/NET_0004/test.pbtxt218
-rw-r--r--res/TensorFlowTests/NET_0004/test.py16
-rw-r--r--res/TensorFlowTests/NET_0005/test.info2
-rw-r--r--res/TensorFlowTests/NET_0005/test.pbtxt120
-rw-r--r--res/TensorFlowTests/NET_0006/test.info2
-rw-r--r--res/TensorFlowTests/NET_0006/test.pbtxt149
-rw-r--r--res/TensorFlowTests/NET_0007/test.info2
-rw-r--r--res/TensorFlowTests/NET_0007/test.pbtxt145
-rw-r--r--res/TensorFlowTests/NET_0008/test.info2
-rw-r--r--res/TensorFlowTests/NET_0008/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0008/test.pbtxt145
-rw-r--r--res/TensorFlowTests/NET_0009/test.info2
-rw-r--r--res/TensorFlowTests/NET_0009/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0009/test.pbtxt188
-rw-r--r--res/TensorFlowTests/NET_0010/test.info2
-rw-r--r--res/TensorFlowTests/NET_0010/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0010/test.pbtxt109
-rw-r--r--res/TensorFlowTests/NET_0011/test.info2
-rw-r--r--res/TensorFlowTests/NET_0011/test.pbtxt129
-rw-r--r--res/TensorFlowTests/NET_0012/test.info2
-rw-r--r--res/TensorFlowTests/NET_0012/test.pbtxt52
-rw-r--r--res/TensorFlowTests/NET_0013/test.info2
-rw-r--r--res/TensorFlowTests/NET_0013/test.pbtxt72
-rw-r--r--res/TensorFlowTests/NET_0014/test.info2
-rw-r--r--res/TensorFlowTests/NET_0014/test.pbtxt106
-rw-r--r--res/TensorFlowTests/NET_0015/test.info2
-rw-r--r--res/TensorFlowTests/NET_0015/test.pbtxt74
-rw-r--r--res/TensorFlowTests/NET_0016/test.info2
-rw-r--r--res/TensorFlowTests/NET_0016/test.pbtxt271
-rw-r--r--res/TensorFlowTests/NET_0017/test.info2
-rw-r--r--res/TensorFlowTests/NET_0017/test.pbtxt61
-rw-r--r--res/TensorFlowTests/NET_0018/test.info2
-rw-r--r--res/TensorFlowTests/NET_0018/test.pbtxt63
-rw-r--r--res/TensorFlowTests/NET_0019/test.info2
-rw-r--r--res/TensorFlowTests/NET_0019/test.pbtxt89
-rw-r--r--res/TensorFlowTests/NET_0020/test.info2
-rw-r--r--res/TensorFlowTests/NET_0020/test.pbtxt112
-rw-r--r--res/TensorFlowTests/NET_0021/test.info2
-rw-r--r--res/TensorFlowTests/NET_0021/test.pbtxt65
-rw-r--r--res/TensorFlowTests/NET_0022/test.info5
-rw-r--r--res/TensorFlowTests/NET_0022/test.pbtxt70
-rw-r--r--res/TensorFlowTests/NET_0023/test.info2
-rw-r--r--res/TensorFlowTests/NET_0023/test.pbtxt72
-rw-r--r--res/TensorFlowTests/NET_0024/test.info3
-rw-r--r--res/TensorFlowTests/NET_0024/test.pbtxt76
-rw-r--r--res/TensorFlowTests/NET_0025/circle_1.0_rel_requirement.rule8
-rw-r--r--res/TensorFlowTests/NET_0025/test.info3
-rw-r--r--res/TensorFlowTests/NET_0025/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0025/test.pbtxt161
-rw-r--r--res/TensorFlowTests/NET_0025/tflite_1.0_rel_requirement.rule8
-rw-r--r--res/TensorFlowTests/NET_0026/test.info3
-rw-r--r--res/TensorFlowTests/NET_0026/test.pbtxt293
-rw-r--r--res/TensorFlowTests/NET_0027/test.info3
-rw-r--r--res/TensorFlowTests/NET_0027/test.pbtxt470
-rw-r--r--res/TensorFlowTests/NET_0028/circle_1.0_rel_requirement.rule6
-rw-r--r--res/TensorFlowTests/NET_0028/test.info3
-rw-r--r--res/TensorFlowTests/NET_0028/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0028/test.pbtxt373
-rw-r--r--res/TensorFlowTests/NET_0029/test.info5
-rw-r--r--res/TensorFlowTests/NET_0029/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0029/test.pbtxt254
-rw-r--r--res/TensorFlowTests/NET_0030/circle_1.0_rel_requirement.rule7
-rw-r--r--res/TensorFlowTests/NET_0030/test.info5
-rw-r--r--res/TensorFlowTests/NET_0030/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0030/test.pbtxt209
-rw-r--r--res/TensorFlowTests/NET_0031/test.info6
-rw-r--r--res/TensorFlowTests/NET_0031/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0031/test.pbtxt329
-rw-r--r--res/TensorFlowTests/NET_0032/test.info7
-rw-r--r--res/TensorFlowTests/NET_0032/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0032/test.pbtxt329
-rw-r--r--res/TensorFlowTests/NET_0033/test.info7
-rw-r--r--res/TensorFlowTests/NET_0033/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0033/test.pbtxt329
-rw-r--r--res/TensorFlowTests/NET_0034/test.info2
-rw-r--r--res/TensorFlowTests/NET_0034/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0034/test.pbtxt144
-rw-r--r--res/TensorFlowTests/NET_0035/test.info2
-rw-r--r--res/TensorFlowTests/NET_0035/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0035/test.pbtxt161
-rw-r--r--res/TensorFlowTests/NET_0036/test.info2
-rw-r--r--res/TensorFlowTests/NET_0036/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0036/test.pbtxt146
-rw-r--r--res/TensorFlowTests/NET_0037/test.info2
-rw-r--r--res/TensorFlowTests/NET_0037/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0037/test.pbtxt146
-rw-r--r--res/TensorFlowTests/NET_0038/test.info2
-rw-r--r--res/TensorFlowTests/NET_0038/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0038/test.pbtxt121
-rw-r--r--res/TensorFlowTests/NET_0039/test.info2
-rw-r--r--res/TensorFlowTests/NET_0039/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0039/test.pbtxt146
-rw-r--r--res/TensorFlowTests/NET_0040/test.info2
-rw-r--r--res/TensorFlowTests/NET_0040/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0040/test.pbtxt164
-rw-r--r--res/TensorFlowTests/NET_0041/test.info2
-rw-r--r--res/TensorFlowTests/NET_0041/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0041/test.pbtxt158
-rw-r--r--res/TensorFlowTests/NET_0042/test.info1
-rw-r--r--res/TensorFlowTests/NET_0042/test.manifest1
-rw-r--r--res/TensorFlowTests/NET_0042/test.pbtxt572
-rw-r--r--res/TensorFlowTests/REGRESSION_0000/test.info2
-rw-r--r--res/TensorFlowTests/REGRESSION_0000/test.pbtxt68
-rw-r--r--res/TensorFlowTests/REGRESSION_0001/test.info2
-rw-r--r--res/TensorFlowTests/REGRESSION_0001/test.manifest1
-rw-r--r--res/TensorFlowTests/REGRESSION_0001/test.pbtxt59
-rw-r--r--res/TensorFlowTests/REGRESSION_0002/test.info2
-rw-r--r--res/TensorFlowTests/REGRESSION_0002/test.manifest1
-rw-r--r--res/TensorFlowTests/REGRESSION_0002/test.pbtxt66
-rw-r--r--res/TensorFlowTests/UI_0000/test.info2
-rw-r--r--res/TensorFlowTests/UI_0000/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0000/test.pbtxt112
-rw-r--r--res/TensorFlowTests/UI_0001/test.info2
-rw-r--r--res/TensorFlowTests/UI_0001/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0001/test.pbtxt110
-rw-r--r--res/TensorFlowTests/UI_0002/test.info2
-rw-r--r--res/TensorFlowTests/UI_0002/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0002/test.pbtxt150
-rw-r--r--res/TensorFlowTests/UI_0003/test.info2
-rw-r--r--res/TensorFlowTests/UI_0003/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0003/test.pbtxt22
-rw-r--r--res/TensorFlowTests/UI_0004/test.info2
-rw-r--r--res/TensorFlowTests/UI_0004/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0004/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UI_0005/test.info2
-rw-r--r--res/TensorFlowTests/UI_0005/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0005/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UI_0006/test.info2
-rw-r--r--res/TensorFlowTests/UI_0006/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0006/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UI_0007/test.info1
-rw-r--r--res/TensorFlowTests/UI_0007/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0007/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UI_0008/test.info3
-rw-r--r--res/TensorFlowTests/UI_0008/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0008/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UI_0009/test.info2
-rw-r--r--res/TensorFlowTests/UI_0009/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0009/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UI_0010/test.info2
-rw-r--r--res/TensorFlowTests/UI_0010/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0010/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UI_0011/test.info2
-rw-r--r--res/TensorFlowTests/UI_0011/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0011/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UI_0012/test.info2
-rw-r--r--res/TensorFlowTests/UI_0012/test.manifest1
-rw-r--r--res/TensorFlowTests/UI_0012/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UNIT_Add_000/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Add_000/test.pbtxt70
-rw-r--r--res/TensorFlowTests/UNIT_Add_001/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Add_001/test.pbtxt70
-rw-r--r--res/TensorFlowTests/UNIT_Add_002/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Add_002/test.pbtxt61
-rw-r--r--res/TensorFlowTests/UNIT_Add_003/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Add_003/test.pbtxt58
-rw-r--r--res/TensorFlowTests/UNIT_Add_004/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Add_004/test.pbtxt62
-rw-r--r--res/TensorFlowTests/UNIT_Add_005/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Add_005/test.pbtxt49
-rw-r--r--res/TensorFlowTests/UNIT_AvgPool_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_AvgPool_000/test.pbtxt74
-rw-r--r--res/TensorFlowTests/UNIT_AvgPool_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_AvgPool_001/test.pbtxt74
-rw-r--r--res/TensorFlowTests/UNIT_BiasAdd_000/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_BiasAdd_000/test.pbtxt57
-rw-r--r--res/TensorFlowTests/UNIT_BiasAdd_001/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_BiasAdd_001/test.pbtxt57
-rw-r--r--res/TensorFlowTests/UNIT_BiasAdd_002/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_BiasAdd_002/test.pbtxt51
-rw-r--r--res/TensorFlowTests/UNIT_ConcatV2_000/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_ConcatV2_000/test.pbtxt110
-rw-r--r--res/TensorFlowTests/UNIT_ConcatV2_001/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_ConcatV2_001/test.pbtxt143
-rw-r--r--res/TensorFlowTests/UNIT_ConcatV2_002/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_ConcatV2_002/test.pbtxt92
-rw-r--r--res/TensorFlowTests/UNIT_Const_000/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_Const_000/test.pbtxt32
-rw-r--r--res/TensorFlowTests/UNIT_Const_001/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_Const_001/test.pbtxt32
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_000/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_000/test.pbtxt136
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_001/test.pbtxt136
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_002/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_002/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Conv2DBackpropInput_002/test.pbtxt136
-rw-r--r--res/TensorFlowTests/UNIT_Conv2D_000/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Conv2D_000/test.pbtxt72
-rw-r--r--res/TensorFlowTests/UNIT_Conv2D_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Conv2D_001/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Conv2D_001/test.pbtxt72
-rw-r--r--res/TensorFlowTests/UNIT_Conv2D_002/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Conv2D_002/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Conv2D_002/test.pbtxt72
-rw-r--r--res/TensorFlowTests/UNIT_CustomOp_000/customop.conf22
-rw-r--r--res/TensorFlowTests/UNIT_CustomOp_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_CustomOp_000/test.pbtxt53
-rw-r--r--res/TensorFlowTests/UNIT_CustomOp_001/customop.conf19
-rw-r--r--res/TensorFlowTests/UNIT_CustomOp_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_CustomOp_001/test.pbtxt38
-rw-r--r--res/TensorFlowTests/UNIT_DepthwiseConv2dNative_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_DepthwiseConv2dNative_000/test.pbtxt115
-rw-r--r--res/TensorFlowTests/UNIT_DepthwiseConv2dNative_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_DepthwiseConv2dNative_001/test.pbtxt115
-rw-r--r--res/TensorFlowTests/UNIT_FusedBatchNorm_000/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_FusedBatchNorm_000/test.pbtxt158
-rw-r--r--res/TensorFlowTests/UNIT_FusedBatchNorm_001/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_FusedBatchNorm_001/test.pbtxt158
-rw-r--r--res/TensorFlowTests/UNIT_MaxPool_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_MaxPool_000/test.pbtxt74
-rw-r--r--res/TensorFlowTests/UNIT_MaxPool_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_MaxPool_001/test.pbtxt48
-rw-r--r--res/TensorFlowTests/UNIT_Mean_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Mean_000/test.pbtxt68
-rw-r--r--res/TensorFlowTests/UNIT_Mean_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Mean_001/test.pbtxt68
-rw-r--r--res/TensorFlowTests/UNIT_Mean_002/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Mean_002/test.pbtxt68
-rw-r--r--res/TensorFlowTests/UNIT_Mean_003/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Mean_003/test.pbtxt68
-rw-r--r--res/TensorFlowTests/UNIT_MirrorPad_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_MirrorPad_000/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_MirrorPad_000/test.pbtxt87
-rw-r--r--res/TensorFlowTests/UNIT_Mul_000/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Mul_000/test.pbtxt70
-rw-r--r--res/TensorFlowTests/UNIT_Mul_001/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Mul_001/test.pbtxt70
-rw-r--r--res/TensorFlowTests/UNIT_Mul_002/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Mul_002/test.pbtxt61
-rw-r--r--res/TensorFlowTests/UNIT_Pack_000/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_000/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_000/test.pbtxt110
-rw-r--r--res/TensorFlowTests/UNIT_Pack_001/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_001/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_001/test.pbtxt78
-rw-r--r--res/TensorFlowTests/UNIT_Pack_002/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_002/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_002/test.pbtxt78
-rw-r--r--res/TensorFlowTests/UNIT_Pack_003/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_003/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_003/test.pbtxt78
-rw-r--r--res/TensorFlowTests/UNIT_Pack_004/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_004/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Pack_004/test.pbtxt78
-rw-r--r--res/TensorFlowTests/UNIT_PadV2_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_PadV2_000/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_PadV2_000/test.pbtxt103
-rw-r--r--res/TensorFlowTests/UNIT_Pad_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Pad_000/test.manifest8
-rw-r--r--res/TensorFlowTests/UNIT_Pad_000/test.pbtxt81
-rw-r--r--res/TensorFlowTests/UNIT_Placeholder_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Placeholder_000/test.pbtxt40
-rw-r--r--res/TensorFlowTests/UNIT_Placeholder_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Placeholder_001/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_Placeholder_001/test.pbtxt40
-rw-r--r--res/TensorFlowTests/UNIT_Placeholder_002/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Placeholder_002/test.pbtxt21
-rw-r--r--res/TensorFlowTests/UNIT_Placeholder_003/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Placeholder_003/test.pbtxt28
-rw-r--r--res/TensorFlowTests/UNIT_RealDiv_000/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_RealDiv_000/test.pbtxt70
-rw-r--r--res/TensorFlowTests/UNIT_RealDiv_001/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_RealDiv_001/test.pbtxt61
-rw-r--r--res/TensorFlowTests/UNIT_Relu6_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Relu6_000/test.pbtxt30
-rw-r--r--res/TensorFlowTests/UNIT_Relu_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Relu_000/test.pbtxt40
-rw-r--r--res/TensorFlowTests/UNIT_Reshape_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Reshape_000/test.pbtxt63
-rw-r--r--res/TensorFlowTests/UNIT_Rsqrt_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Rsqrt_000/test.pbtxt40
-rw-r--r--res/TensorFlowTests/UNIT_Shape_000/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_Shape_000/test.pbtxt41
-rw-r--r--res/TensorFlowTests/UNIT_Softmax_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Softmax_000/test.pbtxt32
-rw-r--r--res/TensorFlowTests/UNIT_Softmax_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Softmax_001/test.pbtxt35
-rw-r--r--res/TensorFlowTests/UNIT_Softmax_002/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Softmax_002/test.pbtxt38
-rw-r--r--res/TensorFlowTests/UNIT_Softmax_003/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Softmax_003/test.pbtxt41
-rw-r--r--res/TensorFlowTests/UNIT_Sqrt_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Sqrt_000/test.pbtxt40
-rw-r--r--res/TensorFlowTests/UNIT_SquaredDifference_000/circle.rule7
-rw-r--r--res/TensorFlowTests/UNIT_SquaredDifference_000/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_SquaredDifference_000/test.pbtxt70
-rw-r--r--res/TensorFlowTests/UNIT_SquaredDifference_001/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_SquaredDifference_001/test.pbtxt70
-rw-r--r--res/TensorFlowTests/UNIT_Squeeze_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Squeeze_000/test.pbtxt28
-rw-r--r--res/TensorFlowTests/UNIT_Squeeze_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Squeeze_001/test.pbtxt35
-rw-r--r--res/TensorFlowTests/UNIT_Squeeze_002/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Squeeze_002/test.pbtxt35
-rw-r--r--res/TensorFlowTests/UNIT_Squeeze_003/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Squeeze_003/test.pbtxt35
-rw-r--r--res/TensorFlowTests/UNIT_StopGradient_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_StopGradient_000/test.pbtxt34
-rw-r--r--res/TensorFlowTests/UNIT_StopGradient_001/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_StopGradient_001/test.pbtxt40
-rw-r--r--res/TensorFlowTests/UNIT_StridedSlice_000/test.info1
-rw-r--r--res/TensorFlowTests/UNIT_StridedSlice_000/test.manifest1
-rw-r--r--res/TensorFlowTests/UNIT_StridedSlice_000/test.pbtxt149
-rw-r--r--res/TensorFlowTests/UNIT_Sub_000/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Sub_000/test.pbtxt70
-rw-r--r--res/TensorFlowTests/UNIT_Sub_001/test.info3
-rw-r--r--res/TensorFlowTests/UNIT_Sub_001/test.pbtxt61
-rw-r--r--res/TensorFlowTests/UNIT_Tanh_000/test.info2
-rw-r--r--res/TensorFlowTests/UNIT_Tanh_000/test.pbtxt40
-rwxr-xr-xres/TensorFlowTests/explain.sh47
-rwxr-xr-xrun36
-rw-r--r--runtime/CMakeLists.txt1
-rw-r--r--runtime/contrib/CMakeLists.txt1
-rw-r--r--runtime/contrib/README.md (renamed from contrib/README.md)0
-rw-r--r--runtime/contrib/TFLiteSharp/README.md (renamed from contrib/TFLiteSharp/README.md)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteNative/CMakeLists.txt (renamed from contrib/TFLiteSharp/TFLiteNative/CMakeLists.txt)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteNative/include/tflite_log.h69
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteNative/include/tflite_nativewrapper.h55
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteNative/src/tflite_nativewrapper.cpp142
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteNative/tflite-native.pc.in (renamed from contrib/TFLiteSharp/TFLiteNative/tflite-native.pc.in)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp.sln (renamed from contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp.sln)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/Interop/Interop.Libraries.cs (renamed from contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/Interop/Interop.Libraries.cs)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/Interop/Interop.TFLite.cs (renamed from contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/Interop/Interop.TFLite.cs)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/TFLiteSharp.csproj (renamed from contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/TFLiteSharp.csproj)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/src/Datatype.cs (renamed from contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/src/Datatype.cs)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/src/Interpreter.cs (renamed from contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/src/Interpreter.cs)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteSharpTest/TFLiteSharpTest.sln (renamed from contrib/TFLiteSharp/TFLiteSharpTest/TFLiteSharpTest.sln)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteSharpTest/TFLiteSharpTest/Program.cs (renamed from contrib/TFLiteSharp/TFLiteSharpTest/TFLiteSharpTest/Program.cs)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteSharpTest/TFLiteSharpTest/TFLiteSharpTest.csproj (renamed from contrib/TFLiteSharp/TFLiteSharpTest/TFLiteSharpTest/TFLiteSharpTest.csproj)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp.csproj (renamed from contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp.csproj)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp_App.cs (renamed from contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp_App.cs)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp_Main.cs (renamed from contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp_Main.cs)0
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteTestApp/res/mobilenet_v1_1.0_224.tflite (renamed from contrib/TFLiteSharp/TFLiteTestApp/res/mobilenet_v1_1.0_224.tflite)bin16900960 -> 16900960 bytes
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteTestApp/res/mouse1.bmp (renamed from contrib/TFLiteSharp/TFLiteTestApp/res/mouse1.bmp)bin2764854 -> 2764854 bytes
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteTestApp/res/mouse_224.bmp (renamed from contrib/TFLiteSharp/TFLiteTestApp/res/mouse_224.bmp)bin150582 -> 150582 bytes
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteTestApp/shared/res/TFLiteTestApp.png (renamed from contrib/TFLiteSharp/TFLiteTestApp/shared/res/TFLiteTestApp.png)bin10097 -> 10097 bytes
-rw-r--r--runtime/contrib/TFLiteSharp/TFLiteTestApp/tizen-manifest.xml (renamed from contrib/TFLiteSharp/TFLiteTestApp/tizen-manifest.xml)0
-rw-r--r--runtime/contrib/TFLiteSharp/packaging/TFLiteSharp.manifest (renamed from contrib/TFLiteSharp/packaging/TFLiteSharp.manifest)0
-rw-r--r--runtime/contrib/TFLiteSharp/packaging/TFLiteSharp.spec (renamed from contrib/TFLiteSharp/packaging/TFLiteSharp.spec)0
-rw-r--r--runtime/contrib/TFLiteSharp/packaging/tflite-native.manifest (renamed from contrib/TFLiteSharp/packaging/tflite-native.manifest)0
-rw-r--r--runtime/contrib/android_benchmark_app/AndroidManifest.xml21
-rw-r--r--runtime/contrib/android_benchmark_app/CMakeLists.txt97
-rw-r--r--runtime/contrib/android_benchmark_app/README.md58
-rw-r--r--runtime/contrib/android_benchmark_app/cpp/ndk_main.cpp228
-rw-r--r--runtime/contrib/android_benchmark_app/cpp/ndk_main.h92
-rw-r--r--runtime/contrib/android_benchmark_app/java/com/ndk/tflbench/MainActivity.java110
-rw-r--r--runtime/contrib/android_benchmark_app/res/drawable-hdpi/ic_launcher.pngbin0 -> 9397 bytes
-rw-r--r--runtime/contrib/android_benchmark_app/res/drawable-mdpi/ic_launcher.pngbin0 -> 5237 bytes
-rw-r--r--runtime/contrib/android_benchmark_app/res/drawable-xhdpi/ic_launcher.pngbin0 -> 14383 bytes
-rw-r--r--runtime/contrib/android_benchmark_app/res/drawable-xxhdpi/ic_launcher.pngbin0 -> 19388 bytes
-rw-r--r--runtime/contrib/android_benchmark_app/res/layout/activity_main.xml38
-rw-r--r--runtime/contrib/android_benchmark_app/res/values-v21/styles.xml5
-rw-r--r--runtime/contrib/android_benchmark_app/res/values/strings.xml6
-rw-r--r--runtime/contrib/android_tflite/CMakeLists.txt31
-rw-r--r--runtime/contrib/android_tflite/builtin_ops_jni.cc29
-rw-r--r--runtime/contrib/benchmark_acl/.FORMATDENY0
-rw-r--r--runtime/contrib/benchmark_acl/CMakeLists.txt24
-rw-r--r--runtime/contrib/benchmark_acl/src/Benchmark.cpp74
-rw-r--r--runtime/contrib/benchmark_acl/src/Benchmark.h (renamed from contrib/benchmark_acl/src/Benchmark.h)0
-rw-r--r--runtime/contrib/benchmark_acl/src/benchmark_googlenet.cpp (renamed from contrib/benchmark_acl/src/benchmark_googlenet.cpp)0
-rw-r--r--runtime/contrib/benchmark_acl/src/benchmark_inception_v3.cpp (renamed from contrib/benchmark_acl/src/benchmark_inception_v3.cpp)0
-rw-r--r--runtime/contrib/benchmark_acl/src/benchmark_mobilenet.cpp (renamed from contrib/benchmark_acl/src/benchmark_mobilenet.cpp)0
-rw-r--r--runtime/contrib/custom_op/README.md25
-rw-r--r--runtime/contrib/custom_op/customOp-workflow.pngbin0 -> 22082 bytes
-rw-r--r--runtime/contrib/detection/CMakeLists.txt (renamed from contrib/detection/CMakeLists.txt)0
-rw-r--r--runtime/contrib/detection/detection.cpp74
-rw-r--r--runtime/contrib/heap_trace/CMakeLists.txt18
-rw-r--r--runtime/contrib/heap_trace/src/cl_create_buffer_stub.cc44
-rw-r--r--runtime/contrib/heap_trace/src/cl_release_mem_object.cc43
-rw-r--r--runtime/contrib/heap_trace/src/free_stub.cc35
-rw-r--r--runtime/contrib/heap_trace/src/function_resolver.h29
-rw-r--r--runtime/contrib/heap_trace/src/malloc_stub.cc39
-rw-r--r--runtime/contrib/heap_trace/src/realloc_stub.cc40
-rw-r--r--runtime/contrib/heap_trace/src/symbol_searcher.cc82
-rw-r--r--runtime/contrib/heap_trace/src/symbol_searcher.h22
-rw-r--r--runtime/contrib/heap_trace/src/trace.cc103
-rw-r--r--runtime/contrib/heap_trace/src/trace.h75
-rw-r--r--runtime/contrib/heap_trace/src/valloc_stub.cc39
-rw-r--r--runtime/contrib/heap_trace/tests/CMakeLists.txt43
-rw-r--r--runtime/contrib/heap_trace/tests/src/cl_create_buffer_interception_test.cc89
-rw-r--r--runtime/contrib/heap_trace/tests/src/cl_release_mem_object_interception_test.cc91
-rw-r--r--runtime/contrib/heap_trace/tests/src/common_test_environment.cc51
-rw-r--r--runtime/contrib/heap_trace/tests/src/common_test_environment.h38
-rw-r--r--runtime/contrib/heap_trace/tests/src/file_content_manipulations.cc25
-rw-r--r--runtime/contrib/heap_trace/tests/src/file_content_manipulations.h24
-rw-r--r--runtime/contrib/heap_trace/tests/src/free_interception_test.cc60
-rw-r--r--runtime/contrib/heap_trace/tests/src/main.cc23
-rw-r--r--runtime/contrib/heap_trace/tests/src/malloc_interception_test.cc87
-rw-r--r--runtime/contrib/heap_trace/tests/src/realloc_interception_test.cc110
-rw-r--r--runtime/contrib/heap_trace/tests/src/symbol_searcher_test.cc79
-rw-r--r--runtime/contrib/heap_trace/tests/src/test_sample1.h25
-rw-r--r--runtime/contrib/heap_trace/tests/src/test_sample1/test_sample1.cc27
-rw-r--r--runtime/contrib/heap_trace/tests/src/test_sample2.h26
-rw-r--r--runtime/contrib/heap_trace/tests/src/test_sample2/test_sample2.cc24
-rw-r--r--runtime/contrib/heap_trace/tests/src/test_sample3.h25
-rw-r--r--runtime/contrib/heap_trace/tests/src/test_sample3/test_sample3.cc20
-rw-r--r--runtime/contrib/heap_trace/tests/src/test_sample4.h25
-rw-r--r--runtime/contrib/heap_trace/tests/src/test_sample4/test_sample4.cc21
-rw-r--r--runtime/contrib/heap_trace/tests/src/trace_test.cc175
-rw-r--r--runtime/contrib/heap_trace/tests/src/valloc_interception_test.cc73
-rw-r--r--runtime/contrib/labs/CMakeLists.txt (renamed from contrib/labs/CMakeLists.txt)0
-rw-r--r--runtime/contrib/labs/jniacl/CMakeLists.txt18
-rw-r--r--runtime/contrib/labs/jniacl/src/io_accessor.cc96
-rw-r--r--runtime/contrib/labs/jniacl/src/io_accessor.h93
-rw-r--r--runtime/contrib/labs/jniacl/src/jniacl_main.cc37
-rw-r--r--runtime/contrib/labs/opencl_test/CMakeLists.txt11
-rw-r--r--runtime/contrib/labs/opencl_test/README.md (renamed from contrib/labs/opencl_test/README.md)0
-rw-r--r--runtime/contrib/labs/opencl_test/src/opencl_test.cc386
-rw-r--r--runtime/contrib/labs/tflite_examples/CMakeLists.txt (renamed from contrib/labs/tflite_examples/CMakeLists.txt)0
-rw-r--r--runtime/contrib/labs/tflite_examples/src/conv.cpp330
-rw-r--r--runtime/contrib/logging/CMakeLists.txt12
-rw-r--r--runtime/contrib/logging/include/operand.def (renamed from runtimes/logging/include/operand.def)0
-rw-r--r--runtime/contrib/logging/include/operation.def (renamed from runtimes/logging/include/operation.def)0
-rw-r--r--runtime/contrib/logging/src/nnapi_logging.cc399
-rw-r--r--runtime/contrib/mlapse/CMakeLists.txt8
-rw-r--r--runtime/contrib/mlapse/README.md3
-rw-r--r--runtime/contrib/mlapse/tfl/CMakeLists.txt12
-rw-r--r--runtime/contrib/mlapse/tfl/driver.cc280
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/CSV_report_generator.cc67
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/CSV_report_generator.h50
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/benchmark_observer.cc24
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/benchmark_observer.h77
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/benchmark_runner.cc124
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/benchmark_runner.h63
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/multicast_observer.cc17
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/multicast_observer.h75
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/tfl/load.cc55
-rw-r--r--runtime/contrib/mlapse/tfl/mlapse/tfl/load.h40
-rw-r--r--runtime/contrib/pure_arm_compute/CMakeLists.txt29
-rw-r--r--runtime/contrib/pure_arm_compute/src/compilation.cc6434
-rw-r--r--runtime/contrib/pure_arm_compute/src/compilation.h (renamed from runtimes/pure_arm_compute/src/compilation.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/event.cc (renamed from runtimes/pure_arm_compute/src/event.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/event.h (renamed from runtimes/pure_arm_compute/src/event.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/execution.cc628
-rw-r--r--runtime/contrib/pure_arm_compute/src/execution.h (renamed from runtimes/pure_arm_compute/src/execution.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/FeatureSink.h (renamed from runtimes/pure_arm_compute/src/internal/FeatureSink.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/FeatureSource.h (renamed from runtimes/pure_arm_compute/src/internal/FeatureSource.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/IExecutionBuilder.h (renamed from runtimes/pure_arm_compute/src/internal/IExecutionBuilder.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/MatrixSink.h (renamed from runtimes/pure_arm_compute/src/internal/MatrixSink.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/MatrixSource.h (renamed from runtimes/pure_arm_compute/src/internal/MatrixSource.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/Model.cc (renamed from runtimes/pure_arm_compute/src/internal/Model.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/Model.h (renamed from runtimes/pure_arm_compute/src/internal/Model.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/Sink.h (renamed from runtimes/pure_arm_compute/src/internal/Sink.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/Sinks.h (renamed from runtimes/pure_arm_compute/src/internal/Sinks.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/Source.h (renamed from runtimes/pure_arm_compute/src/internal/Source.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/Swizzle.h (renamed from runtimes/pure_arm_compute/src/internal/Swizzle.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/Tensor3DSink.h (renamed from runtimes/pure_arm_compute/src/internal/Tensor3DSink.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/Tensor3DSource.h (renamed from runtimes/pure_arm_compute/src/internal/Tensor3DSource.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/TensorSource.h (renamed from runtimes/pure_arm_compute/src/internal/TensorSource.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/VectorSink.h (renamed from runtimes/pure_arm_compute/src/internal/VectorSink.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/VectorSource.h (renamed from runtimes/pure_arm_compute/src/internal/VectorSource.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/arm_compute.cc (renamed from runtimes/pure_arm_compute/src/internal/arm_compute.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/arm_compute.h (renamed from runtimes/pure_arm_compute/src/internal/arm_compute.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/arm_compute/Cast.cc152
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/arm_compute/Cast.h156
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/arm_compute/feature/View.h (renamed from runtimes/pure_arm_compute/src/internal/arm_compute/feature/View.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/arm_compute/kernel/View.h (renamed from runtimes/pure_arm_compute/src/internal/arm_compute/kernel/View.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/arm_compute/matrix/View.h (renamed from runtimes/pure_arm_compute/src/internal/arm_compute/matrix/View.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/arm_compute/tensor/View.h (renamed from runtimes/pure_arm_compute/src/internal/arm_compute/tensor/View.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/nnapi/feature/Reader.h (renamed from runtimes/pure_arm_compute/src/internal/nnapi/feature/Reader.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/nnapi/feature/Utils.h (renamed from runtimes/pure_arm_compute/src/internal/nnapi/feature/Utils.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/nnapi/feature/View.h (renamed from runtimes/pure_arm_compute/src/internal/nnapi/feature/View.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/nnapi/kernel/Reader.h (renamed from runtimes/pure_arm_compute/src/internal/nnapi/kernel/Reader.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/nnapi/matrix/Reader.h (renamed from runtimes/pure_arm_compute/src/internal/nnapi/matrix/Reader.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/nnapi/tensor/ConstView.h (renamed from runtimes/pure_arm_compute/src/internal/nnapi/tensor/ConstView.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/nnapi/tensor/Reader.h116
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/nnapi/tensor/View.h121
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Abs.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Abs.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Abs.h (renamed from runtimes/pure_arm_compute/src/internal/op/Abs.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Add.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Add.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Add.h (renamed from runtimes/pure_arm_compute/src/internal/op/Add.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ArgMax.cc (renamed from runtimes/pure_arm_compute/src/internal/op/ArgMax.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ArgMax.h (renamed from runtimes/pure_arm_compute/src/internal/op/ArgMax.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/AvgPool2D.cc (renamed from runtimes/pure_arm_compute/src/internal/op/AvgPool2D.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/AvgPool2D.h (renamed from runtimes/pure_arm_compute/src/internal/op/AvgPool2D.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/BatchToSpaceNd.cc (renamed from runtimes/pure_arm_compute/src/internal/op/BatchToSpaceNd.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/BatchToSpaceNd.h (renamed from runtimes/pure_arm_compute/src/internal/op/BatchToSpaceNd.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Cast.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Cast.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Cast.h (renamed from runtimes/pure_arm_compute/src/internal/op/Cast.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Concat.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Concat.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Concat.h (renamed from runtimes/pure_arm_compute/src/internal/op/Concat.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Conv2D.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Conv2D.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Conv2D.h (renamed from runtimes/pure_arm_compute/src/internal/op/Conv2D.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/DepthToSpace.cc (renamed from runtimes/pure_arm_compute/src/internal/op/DepthToSpace.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/DepthToSpace.h (renamed from runtimes/pure_arm_compute/src/internal/op/DepthToSpace.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/DepthwiseConv2D.cc128
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/DepthwiseConv2D.h198
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Dequantize.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Dequantize.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Dequantize.h (renamed from runtimes/pure_arm_compute/src/internal/op/Dequantize.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Div.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Div.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Div.h (renamed from runtimes/pure_arm_compute/src/internal/op/Div.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/EmbeddingLookup.cc (renamed from runtimes/pure_arm_compute/src/internal/op/EmbeddingLookup.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/EmbeddingLookup.h (renamed from runtimes/pure_arm_compute/src/internal/op/EmbeddingLookup.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Equal.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Equal.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Equal.h (renamed from runtimes/pure_arm_compute/src/internal/op/Equal.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Exp.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Exp.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Exp.h (renamed from runtimes/pure_arm_compute/src/internal/op/Exp.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Floor.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Floor.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Floor.h (renamed from runtimes/pure_arm_compute/src/internal/op/Floor.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/FullyConnected.cc (renamed from runtimes/pure_arm_compute/src/internal/op/FullyConnected.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/FullyConnected.h (renamed from runtimes/pure_arm_compute/src/internal/op/FullyConnected.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Gather.cc67
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Gather.h109
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/HashtableLookup.cc (renamed from runtimes/pure_arm_compute/src/internal/op/HashtableLookup.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/HashtableLookup.h (renamed from runtimes/pure_arm_compute/src/internal/op/HashtableLookup.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/L2Normalization.cc (renamed from runtimes/pure_arm_compute/src/internal/op/L2Normalization.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/L2Normalization.h (renamed from runtimes/pure_arm_compute/src/internal/op/L2Normalization.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/L2Pool2D.cc (renamed from runtimes/pure_arm_compute/src/internal/op/L2Pool2D.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/L2Pool2D.h (renamed from runtimes/pure_arm_compute/src/internal/op/L2Pool2D.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/LocalResponseNormalization.cc (renamed from runtimes/pure_arm_compute/src/internal/op/LocalResponseNormalization.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/LocalResponseNormalization.h (renamed from runtimes/pure_arm_compute/src/internal/op/LocalResponseNormalization.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/LogicalAnd.cc (renamed from runtimes/pure_arm_compute/src/internal/op/LogicalAnd.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/LogicalAnd.h (renamed from runtimes/pure_arm_compute/src/internal/op/LogicalAnd.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/LogicalNot.cc (renamed from runtimes/pure_arm_compute/src/internal/op/LogicalNot.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/LogicalNot.h (renamed from runtimes/pure_arm_compute/src/internal/op/LogicalNot.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/LogicalOr.cc (renamed from runtimes/pure_arm_compute/src/internal/op/LogicalOr.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/LogicalOr.h (renamed from runtimes/pure_arm_compute/src/internal/op/LogicalOr.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Logistic.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Logistic.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Logistic.h (renamed from runtimes/pure_arm_compute/src/internal/op/Logistic.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Lstm.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Lstm.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Lstm.h (renamed from runtimes/pure_arm_compute/src/internal/op/Lstm.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/MaxPool2D.cc (renamed from runtimes/pure_arm_compute/src/internal/op/MaxPool2D.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/MaxPool2D.h (renamed from runtimes/pure_arm_compute/src/internal/op/MaxPool2D.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Mean.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Mean.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Mean.h (renamed from runtimes/pure_arm_compute/src/internal/op/Mean.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Mul.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Mul.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Mul.h (renamed from runtimes/pure_arm_compute/src/internal/op/Mul.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Neg.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Neg.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Neg.h (renamed from runtimes/pure_arm_compute/src/internal/op/Neg.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Node.h (renamed from runtimes/pure_arm_compute/src/internal/op/Node.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/NodeVisitor.h (renamed from runtimes/pure_arm_compute/src/internal/op/NodeVisitor.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/NotEqual.cc (renamed from runtimes/pure_arm_compute/src/internal/op/NotEqual.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/NotEqual.h (renamed from runtimes/pure_arm_compute/src/internal/op/NotEqual.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/PReLU.cc (renamed from runtimes/pure_arm_compute/src/internal/op/PReLU.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/PReLU.h (renamed from runtimes/pure_arm_compute/src/internal/op/PReLU.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Pack.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Pack.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Pack.h (renamed from runtimes/pure_arm_compute/src/internal/op/Pack.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Pad.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Pad.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Pad.h (renamed from runtimes/pure_arm_compute/src/internal/op/Pad.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/RSQRT.cc (renamed from runtimes/pure_arm_compute/src/internal/op/RSQRT.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/RSQRT.h (renamed from runtimes/pure_arm_compute/src/internal/op/RSQRT.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReLU.cc (renamed from runtimes/pure_arm_compute/src/internal/op/ReLU.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReLU.h (renamed from runtimes/pure_arm_compute/src/internal/op/ReLU.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReLU1.cc (renamed from runtimes/pure_arm_compute/src/internal/op/ReLU1.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReLU1.h (renamed from runtimes/pure_arm_compute/src/internal/op/ReLU1.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReLU6.cc (renamed from runtimes/pure_arm_compute/src/internal/op/ReLU6.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReLU6.h (renamed from runtimes/pure_arm_compute/src/internal/op/ReLU6.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReduceMax.cc (renamed from runtimes/pure_arm_compute/src/internal/op/ReduceMax.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReduceMax.h (renamed from runtimes/pure_arm_compute/src/internal/op/ReduceMax.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReduceMin.cc (renamed from runtimes/pure_arm_compute/src/internal/op/ReduceMin.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReduceMin.h (renamed from runtimes/pure_arm_compute/src/internal/op/ReduceMin.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReduceSum.cc (renamed from runtimes/pure_arm_compute/src/internal/op/ReduceSum.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ReduceSum.h (renamed from runtimes/pure_arm_compute/src/internal/op/ReduceSum.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Reshape.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Reshape.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Reshape.h (renamed from runtimes/pure_arm_compute/src/internal/op/Reshape.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ResizeBilinear.cc (renamed from runtimes/pure_arm_compute/src/internal/op/ResizeBilinear.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/ResizeBilinear.h (renamed from runtimes/pure_arm_compute/src/internal/op/ResizeBilinear.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Rnn.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Rnn.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Rnn.h (renamed from runtimes/pure_arm_compute/src/internal/op/Rnn.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/SQRT.cc (renamed from runtimes/pure_arm_compute/src/internal/op/SQRT.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/SQRT.h (renamed from runtimes/pure_arm_compute/src/internal/op/SQRT.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Softmax.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Softmax.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Softmax.h (renamed from runtimes/pure_arm_compute/src/internal/op/Softmax.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/SpaceToBatchND.cc (renamed from runtimes/pure_arm_compute/src/internal/op/SpaceToBatchND.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/SpaceToBatchND.h (renamed from runtimes/pure_arm_compute/src/internal/op/SpaceToBatchND.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/SpaceToDepth.cc (renamed from runtimes/pure_arm_compute/src/internal/op/SpaceToDepth.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/SpaceToDepth.h (renamed from runtimes/pure_arm_compute/src/internal/op/SpaceToDepth.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Split.cc72
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Split.h109
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/SquaredDifference.cc (renamed from runtimes/pure_arm_compute/src/internal/op/SquaredDifference.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/SquaredDifference.h (renamed from runtimes/pure_arm_compute/src/internal/op/SquaredDifference.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Squeeze.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Squeeze.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Squeeze.h (renamed from runtimes/pure_arm_compute/src/internal/op/Squeeze.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/StridedSlice.cc (renamed from runtimes/pure_arm_compute/src/internal/op/StridedSlice.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/StridedSlice.h (renamed from runtimes/pure_arm_compute/src/internal/op/StridedSlice.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Sub.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Sub.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Sub.h (renamed from runtimes/pure_arm_compute/src/internal/op/Sub.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Tanh.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Tanh.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Tanh.h (renamed from runtimes/pure_arm_compute/src/internal/op/Tanh.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/TopKV2.cc (renamed from runtimes/pure_arm_compute/src/internal/op/TopKV2.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/TopKV2.h (renamed from runtimes/pure_arm_compute/src/internal/op/TopKV2.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Transpose.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Transpose.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Transpose.h (renamed from runtimes/pure_arm_compute/src/internal/op/Transpose.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/TransposeConv.cc (renamed from runtimes/pure_arm_compute/src/internal/op/TransposeConv.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/TransposeConv.h (renamed from runtimes/pure_arm_compute/src/internal/op/TransposeConv.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Unpack.cc (renamed from runtimes/pure_arm_compute/src/internal/op/Unpack.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/internal/op/Unpack.h (renamed from runtimes/pure_arm_compute/src/internal/op/Unpack.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/library_info.cc (renamed from runtimes/pure_arm_compute/src/library_info.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/logging.h74
-rw-r--r--runtime/contrib/pure_arm_compute/src/memory.cc (renamed from runtimes/pure_arm_compute/src/memory.cc)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/memory.h (renamed from runtimes/pure_arm_compute/src/memory.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/src/model.cc1082
-rw-r--r--runtime/contrib/pure_arm_compute/src/model.h (renamed from runtimes/pure_arm_compute/src/model.h)0
-rw-r--r--runtime/contrib/pure_arm_compute/symbolcheck.cpp (renamed from runtimes/pure_arm_compute/symbolcheck.cpp)0
-rw-r--r--runtime/contrib/tflite_classify/CMakeLists.txt22
-rw-r--r--runtime/contrib/tflite_classify/src/ImageClassifier.cc (renamed from contrib/tflite_classify/src/ImageClassifier.cc)0
-rw-r--r--runtime/contrib/tflite_classify/src/ImageClassifier.h (renamed from contrib/tflite_classify/src/ImageClassifier.h)0
-rw-r--r--runtime/contrib/tflite_classify/src/InferenceInterface.cc (renamed from contrib/tflite_classify/src/InferenceInterface.cc)0
-rw-r--r--runtime/contrib/tflite_classify/src/InferenceInterface.h93
-rw-r--r--runtime/contrib/tflite_classify/src/tflite_classify.cc (renamed from contrib/tflite_classify/src/tflite_classify.cc)0
-rw-r--r--runtime/contrib/tflite_test/CMakeLists.txt (renamed from contrib/tflite_test/CMakeLists.txt)0
-rw-r--r--runtime/contrib/tflite_test/tflite_test.cpp239
-rw-r--r--runtime/contrib/uben/CMakeLists.txt29
-rw-r--r--runtime/contrib/uben/Convolution.cpp429
-rw-r--r--runtime/contrib/uben/Softmax.cpp54
-rw-r--r--runtime/libs/CMakeLists.txt (renamed from libs/CMakeLists.txt)0
-rw-r--r--runtime/libs/benchmark/CMakeLists.txt6
-rw-r--r--runtime/libs/benchmark/include/benchmark.h25
-rw-r--r--runtime/libs/benchmark/include/benchmark/CsvHeader.lst15
-rw-r--r--runtime/libs/benchmark/include/benchmark/CsvWriter.h61
-rw-r--r--runtime/libs/benchmark/include/benchmark/MemoryPoller.h82
-rw-r--r--runtime/libs/benchmark/include/benchmark/Phase.h51
-rw-r--r--runtime/libs/benchmark/include/benchmark/Result.h139
-rw-r--r--runtime/libs/benchmark/include/benchmark/Util.h102
-rw-r--r--runtime/libs/benchmark/src/CsvWriter.cpp122
-rw-r--r--runtime/libs/benchmark/src/MemoryPoller.cpp263
-rw-r--r--runtime/libs/cpp14/CMakeLists.txt (renamed from libs/cpp14/CMakeLists.txt)0
-rw-r--r--runtime/libs/cpp14/include/cpp14/memory.h66
-rw-r--r--runtime/libs/jsoncpp/CMakeLists.txt6
-rw-r--r--runtime/libs/jsoncpp/README.md11
-rw-r--r--runtime/libs/jsoncpp/json/json-forwards.h315
-rw-r--r--runtime/libs/jsoncpp/json/json.h2133
-rw-r--r--runtime/libs/jsoncpp/jsoncpp.cpp5651
-rw-r--r--runtime/libs/misc/CMakeLists.txt11
-rw-r--r--runtime/libs/misc/examples/tensor_index_iterator.cpp74
-rw-r--r--runtime/libs/misc/include/misc/EnvVar.h120
-rw-r--r--runtime/libs/misc/include/misc/EventCollector.h51
-rw-r--r--runtime/libs/misc/include/misc/EventRecorder.h67
-rw-r--r--runtime/libs/misc/include/misc/benchmark.h (renamed from libs/misc/include/misc/benchmark.h)0
-rw-r--r--runtime/libs/misc/include/misc/feature/Index.h (renamed from libs/misc/include/misc/feature/Index.h)0
-rw-r--r--runtime/libs/misc/include/misc/feature/IndexIterator.h (renamed from libs/misc/include/misc/feature/IndexIterator.h)0
-rw-r--r--runtime/libs/misc/include/misc/feature/Object.h (renamed from libs/misc/include/misc/feature/Object.h)0
-rw-r--r--runtime/libs/misc/include/misc/feature/Reader.h (renamed from libs/misc/include/misc/feature/Reader.h)0
-rw-r--r--runtime/libs/misc/include/misc/feature/Shape.h (renamed from libs/misc/include/misc/feature/Shape.h)0
-rw-r--r--runtime/libs/misc/include/misc/feature/TextFormatter.h (renamed from libs/misc/include/misc/feature/TextFormatter.h)0
-rw-r--r--runtime/libs/misc/include/misc/fp32.h (renamed from libs/misc/include/misc/fp32.h)0
-rw-r--r--runtime/libs/misc/include/misc/kernel/IndexIterator.h (renamed from libs/misc/include/misc/kernel/IndexIterator.h)0
-rw-r--r--runtime/libs/misc/include/misc/kernel/Reader.h (renamed from libs/misc/include/misc/kernel/Reader.h)0
-rw-r--r--runtime/libs/misc/include/misc/kernel/Shape.h (renamed from libs/misc/include/misc/kernel/Shape.h)0
-rw-r--r--runtime/libs/misc/include/misc/matrix/IndexIterator.h (renamed from libs/misc/include/misc/matrix/IndexIterator.h)0
-rw-r--r--runtime/libs/misc/include/misc/matrix/Reader.h (renamed from libs/misc/include/misc/matrix/Reader.h)0
-rw-r--r--runtime/libs/misc/include/misc/matrix/Shape.h (renamed from libs/misc/include/misc/matrix/Shape.h)0
-rw-r--r--runtime/libs/misc/include/misc/polymorphic_downcast.h43
-rw-r--r--runtime/libs/misc/include/misc/string_helpers.h66
-rw-r--r--runtime/libs/misc/include/misc/tensor/Comparator.h (renamed from libs/misc/include/misc/tensor/Comparator.h)0
-rw-r--r--runtime/libs/misc/include/misc/tensor/Diff.h (renamed from libs/misc/include/misc/tensor/Diff.h)0
-rw-r--r--runtime/libs/misc/include/misc/tensor/Index.h107
-rw-r--r--runtime/libs/misc/include/misc/tensor/IndexEnumerator.h131
-rw-r--r--runtime/libs/misc/include/misc/tensor/IndexFormatter.h (renamed from libs/misc/include/misc/tensor/IndexFormatter.h)0
-rw-r--r--runtime/libs/misc/include/misc/tensor/IndexIterator.h (renamed from libs/misc/include/misc/tensor/IndexIterator.h)0
-rw-r--r--runtime/libs/misc/include/misc/tensor/NonIncreasingStride.h88
-rw-r--r--runtime/libs/misc/include/misc/tensor/Object.h110
-rw-r--r--runtime/libs/misc/include/misc/tensor/Reader.h (renamed from libs/misc/include/misc/tensor/Reader.h)0
-rw-r--r--runtime/libs/misc/include/misc/tensor/Shape.h150
-rw-r--r--runtime/libs/misc/include/misc/tensor/Zipper.h (renamed from libs/misc/include/misc/tensor/Zipper.h)0
-rw-r--r--runtime/libs/misc/include/misc/vector.h (renamed from libs/misc/include/misc/vector.h)0
-rw-r--r--runtime/libs/misc/include/misc/vector/Object.h (renamed from libs/misc/include/misc/vector/Object.h)0
-rw-r--r--runtime/libs/misc/include/misc/vector/Reader.h (renamed from libs/misc/include/misc/vector/Reader.h)0
-rw-r--r--runtime/libs/misc/src/EventCollector.cpp104
-rw-r--r--runtime/libs/misc/src/EventRecorder.cpp136
-rw-r--r--runtime/libs/misc/src/tensor/Comparator.cpp38
-rw-r--r--runtime/libs/misc/src/tensor/IndexFormatter.cpp (renamed from libs/misc/src/tensor/IndexFormatter.cpp)0
-rw-r--r--runtime/libs/misc/src/tensor/NonIncreasingStride.cpp (renamed from libs/misc/src/tensor/NonIncreasingStride.cpp)0
-rw-r--r--runtime/libs/misc/src/tensor/Shape.cpp107
-rw-r--r--runtime/libs/ndarray/CMakeLists.txt19
-rw-r--r--runtime/libs/ndarray/example/CMakeLists.txt4
-rw-r--r--runtime/libs/ndarray/example/example_array.cpp76
-rw-r--r--runtime/libs/ndarray/example/example_no_array.cpp85
-rw-r--r--runtime/libs/ndarray/include/ndarray/Array.h195
-rw-r--r--runtime/libs/ndarray/include/ndarray/Common.h22
-rw-r--r--runtime/libs/ndarray/include/ndarray/ContiguousSpan.h108
-rw-r--r--runtime/libs/ndarray/include/ndarray/Shape.h66
-rw-r--r--runtime/libs/ndarray/src/Array.cpp27
-rw-r--r--runtime/libs/ndarray/src/ContiguousSpan.cpp31
-rw-r--r--runtime/libs/ndarray/src/detail/cxx14.h67
-rw-r--r--runtime/libs/ndarray/test/CMakeLists.txt17
-rw-r--r--runtime/libs/ndarray/test/ndarray_test.cpp92
-rw-r--r--runtime/libs/nnapi/CMakeLists.txt3
-rw-r--r--runtime/libs/nnapi/v1.1/CMakeLists.txt4
-rw-r--r--runtime/libs/nnapi/v1.1/include/NeuralNetworksExShim.h (renamed from include/NeuralNetworksExShim.h)0
-rw-r--r--runtime/libs/nnapi/v1.1/include/NeuralNetworksLoadHelpers.h141
-rw-r--r--runtime/libs/nnapi/v1.1/include/NeuralNetworksShim.h (renamed from include/NeuralNetworksShim.h)0
-rw-r--r--runtime/libs/nnapi/v1.2/CMakeLists.txt4
-rw-r--r--runtime/libs/nnapi/v1.2/include/NeuralNetworksExShim.h65
-rw-r--r--runtime/libs/nnapi/v1.2/include/NeuralNetworksLoadHelpers.h138
-rw-r--r--runtime/libs/nnapi/v1.2/include/NeuralNetworksShim.h1136
-rw-r--r--runtime/libs/nnapi/v1.2/include/NeuralNetworksTypes.h163
-rw-r--r--runtime/libs/profiling/CMakeLists.txt7
-rw-r--r--runtime/libs/profiling/include/profiling/profile_buffer.h170
-rw-r--r--runtime/libs/profiling/include/profiling/profiler.h203
-rw-r--r--runtime/libs/profiling/include/profiling/profiling.h (renamed from libs/profiling/include/profiling/profiling.h)0
-rw-r--r--runtime/libs/profiling/include/profiling/time.h35
-rw-r--r--runtime/libs/profiling/src/profiling/time.cpp55
-rw-r--r--runtime/libs/rua/CMakeLists.txt4
-rw-r--r--runtime/libs/rua/README.md4
-rw-r--r--runtime/libs/rua/anchor/CMakeLists.txt9
-rw-r--r--runtime/libs/rua/anchor/include/rua/Anchor.h38
-rw-r--r--runtime/libs/rua/anchor/src/Anchor.cpp33
-rw-r--r--runtime/libs/rua/core/CMakeLists.txt3
-rw-r--r--runtime/libs/rua/core/include/rua/Service.h158
-rw-r--r--runtime/libs/rua/dyn/CMakeLists.txt8
-rw-r--r--runtime/libs/rua/dyn/include/rua/DynamicBinder.h35
-rw-r--r--runtime/libs/rua/dyn/src/DynamicBinder.cpp353
-rw-r--r--runtime/libs/rua/shim/CMakeLists.txt4
-rw-r--r--runtime/libs/rua/shim/include/rua/Shim.h192
-rw-r--r--runtime/libs/tflite/CMakeLists.txt17
-rw-r--r--runtime/libs/tflite/include/tflite/Assert.h45
-rw-r--r--runtime/libs/tflite/include/tflite/Diff.h201
-rw-r--r--runtime/libs/tflite/include/tflite/FeatureView.h108
-rw-r--r--runtime/libs/tflite/include/tflite/InputIndex.h (renamed from libs/tflite/include/tflite/InputIndex.h)0
-rw-r--r--runtime/libs/tflite/include/tflite/InterpreterSession.h (renamed from libs/tflite/include/tflite/InterpreterSession.h)0
-rw-r--r--runtime/libs/tflite/include/tflite/NNAPISession.h102
-rw-r--r--runtime/libs/tflite/include/tflite/OutputIndex.h (renamed from libs/tflite/include/tflite/OutputIndex.h)0
-rw-r--r--runtime/libs/tflite/include/tflite/Quantization.h44
-rw-r--r--runtime/libs/tflite/include/tflite/Session.h69
-rw-r--r--runtime/libs/tflite/include/tflite/TensorLogger.h168
-rw-r--r--runtime/libs/tflite/include/tflite/TensorShapeUtils.h (renamed from libs/tflite/include/tflite/TensorShapeUtils.h)0
-rw-r--r--runtime/libs/tflite/include/tflite/TensorUtils.h54
-rw-r--r--runtime/libs/tflite/include/tflite/TensorView.h120
-rw-r--r--runtime/libs/tflite/include/tflite/interp/Builder.h53
-rw-r--r--runtime/libs/tflite/include/tflite/interp/FlatBufferBuilder.h64
-rw-r--r--runtime/libs/tflite/include/tflite/interp/FunctionBuilder.h67
-rw-r--r--runtime/libs/tflite/port/1.13.1/CMakeLists.txt16
-rw-r--r--runtime/libs/tflite/port/1.13.1/include/tflite/ext/kernels/Abs.h41
-rw-r--r--runtime/libs/tflite/port/1.13.1/include/tflite/ext/kernels/CustomOps.h62
-rw-r--r--runtime/libs/tflite/port/1.13.1/include/tflite/ext/kernels/SquaredDifference.h76
-rw-r--r--runtime/libs/tflite/port/1.13.1/include/tflite/ext/kernels/TensorFlowMax.h75
-rw-r--r--runtime/libs/tflite/port/1.13.1/include/tflite/ext/kernels/TensorFlowSum.h41
-rw-r--r--runtime/libs/tflite/port/1.13.1/include/tflite/ext/kernels/register.h46
-rw-r--r--runtime/libs/tflite/port/1.13.1/include/tflite/ext/nnapi_delegate.h92
-rw-r--r--runtime/libs/tflite/port/1.13.1/src/kernels/Abs.cpp103
-rw-r--r--runtime/libs/tflite/port/1.13.1/src/kernels/SquaredDifference.cpp109
-rw-r--r--runtime/libs/tflite/port/1.13.1/src/kernels/TensorFlowMax.cpp405
-rw-r--r--runtime/libs/tflite/port/1.13.1/src/kernels/TensorFlowSum.cpp400
-rw-r--r--runtime/libs/tflite/port/1.13.1/src/kernels/register.cpp317
-rw-r--r--runtime/libs/tflite/port/1.13.1/src/nnapi_delegate.cpp1217
-rw-r--r--runtime/libs/tflite/port/1.13.1/src/nnapi_delegate_ex_AddOpsAndParams_lambda.inc160
-rw-r--r--runtime/libs/tflite/port/CMakeLists.txt7
-rw-r--r--runtime/libs/tflite/src/Diff.cpp621
-rw-r--r--runtime/libs/tflite/src/FeatureView.cpp (renamed from libs/tflite/src/FeatureView.cpp)0
-rw-r--r--runtime/libs/tflite/src/Quantization.cpp (renamed from libs/tflite/src/Quantization.cpp)0
-rw-r--r--runtime/libs/tflite/src/TensorShapeUtils.cpp29
-rw-r--r--runtime/libs/tflite/src/TensorView.test.cpp (renamed from libs/tflite/src/TensorView.test.cpp)0
-rw-r--r--runtime/libs/tflite/src/interp/FlatBufferBuilder.cpp40
-rw-r--r--runtime/libs/tflite/src/interp/FunctionBuilder.cpp34
-rw-r--r--runtime/neurun/CMakeLists.txt16
-rw-r--r--runtime/neurun/api/CMakeLists.txt21
-rw-r--r--runtime/neurun/api/include/nnfw.h378
-rw-r--r--runtime/neurun/api/include/nnfw_debug.h24
-rw-r--r--runtime/neurun/api/include/nnfw_dev.h65
-rw-r--r--runtime/neurun/api/src/CustomKernel.cc98
-rw-r--r--runtime/neurun/api/src/CustomKernel.h59
-rw-r--r--runtime/neurun/api/src/CustomKernelRegistry.cc64
-rw-r--r--runtime/neurun/api/src/CustomKernelRegistry.h64
-rw-r--r--runtime/neurun/api/src/OpMap.lst89
-rw-r--r--runtime/neurun/api/src/nnfw_api.cc267
-rw-r--r--runtime/neurun/api/src/nnfw_api_internal.cc435
-rw-r--r--runtime/neurun/api/src/nnfw_api_internal.h84
-rw-r--r--runtime/neurun/api/src/nnfw_debug.cc24
-rw-r--r--runtime/neurun/api/src/nnfw_debug_internal.cc25
-rw-r--r--runtime/neurun/api/src/nnfw_debug_internal.h29
-rw-r--r--runtime/neurun/backend/CMakeLists.txt10
-rw-r--r--runtime/neurun/backend/acl_cl/Backend.h65
-rw-r--r--runtime/neurun/backend/acl_cl/CLTimer.h108
-rw-r--r--runtime/neurun/backend/acl_cl/CMakeLists.txt21
-rw-r--r--runtime/neurun/backend/acl_cl/Config.cc50
-rw-r--r--runtime/neurun/backend/acl_cl/Config.h45
-rw-r--r--runtime/neurun/backend/acl_cl/ConstantInitializer.cc266
-rw-r--r--runtime/neurun/backend/acl_cl/ConstantInitializer.h63
-rw-r--r--runtime/neurun/backend/acl_cl/KernelGenerator.cc2151
-rw-r--r--runtime/neurun/backend/acl_cl/KernelGenerator.h112
-rw-r--r--runtime/neurun/backend/acl_cl/PluginClassesAllocator.cc33
-rw-r--r--runtime/neurun/backend/acl_cl/ShapeFixer.cc434
-rw-r--r--runtime/neurun/backend/acl_cl/ShapeFixer.h110
-rw-r--r--runtime/neurun/backend/acl_cl/TensorBuilder.h39
-rw-r--r--runtime/neurun/backend/acl_cl/TensorManager.h80
-rw-r--r--runtime/neurun/backend/acl_cl/TensorRegister.h51
-rw-r--r--runtime/neurun/backend/acl_cl/operand/CLSubTensor.cc44
-rw-r--r--runtime/neurun/backend/acl_cl/operand/CLSubTensor.h63
-rw-r--r--runtime/neurun/backend/acl_cl/operand/CLTensor.cc62
-rw-r--r--runtime/neurun/backend/acl_cl/operand/CLTensor.h75
-rw-r--r--runtime/neurun/backend/acl_cl/operand/ICLTensor.cc45
-rw-r--r--runtime/neurun/backend/acl_cl/operand/ICLTensor.h50
-rw-r--r--runtime/neurun/backend/acl_common/AclFunction.h60
-rw-r--r--runtime/neurun/backend/acl_common/AclInternalBufferManager.h97
-rw-r--r--runtime/neurun/backend/acl_common/AclLinearMemoryManager.h110
-rw-r--r--runtime/neurun/backend/acl_common/AclMemoryManager.h98
-rw-r--r--runtime/neurun/backend/acl_common/AclTensorManager.h300
-rw-r--r--runtime/neurun/backend/acl_common/AclTensorRegister.cc49
-rw-r--r--runtime/neurun/backend/acl_common/AclTensorRegister.h56
-rw-r--r--runtime/neurun/backend/acl_common/CMakeLists.txt19
-rw-r--r--runtime/neurun/backend/acl_common/Convert.cc193
-rw-r--r--runtime/neurun/backend/acl_common/Convert.h68
-rw-r--r--runtime/neurun/backend/acl_common/IACLTensor.cc63
-rw-r--r--runtime/neurun/backend/acl_common/IACLTensor.h62
-rw-r--r--runtime/neurun/backend/acl_common/Swizzle.h160
-rw-r--r--runtime/neurun/backend/acl_common/TemplTensorBuilder.h612
-rw-r--r--runtime/neurun/backend/acl_neon/Backend.h65
-rw-r--r--runtime/neurun/backend/acl_neon/CMakeLists.txt21
-rw-r--r--runtime/neurun/backend/acl_neon/Config.cc30
-rw-r--r--runtime/neurun/backend/acl_neon/Config.h49
-rw-r--r--runtime/neurun/backend/acl_neon/ConstantInitializer.cc246
-rw-r--r--runtime/neurun/backend/acl_neon/ConstantInitializer.h60
-rw-r--r--runtime/neurun/backend/acl_neon/KernelGenerator.cc2152
-rw-r--r--runtime/neurun/backend/acl_neon/KernelGenerator.h111
-rw-r--r--runtime/neurun/backend/acl_neon/PluginClassesAllocator.cc33
-rw-r--r--runtime/neurun/backend/acl_neon/ShapeFixer.cc439
-rw-r--r--runtime/neurun/backend/acl_neon/ShapeFixer.h109
-rw-r--r--runtime/neurun/backend/acl_neon/TensorBuilder.h39
-rw-r--r--runtime/neurun/backend/acl_neon/TensorManager.h78
-rw-r--r--runtime/neurun/backend/acl_neon/TensorRegister.cc30
-rw-r--r--runtime/neurun/backend/acl_neon/TensorRegister.h51
-rw-r--r--runtime/neurun/backend/acl_neon/operand/INETensor.cc33
-rw-r--r--runtime/neurun/backend/acl_neon/operand/INETensor.h46
-rw-r--r--runtime/neurun/backend/acl_neon/operand/NESubTensor.cc44
-rw-r--r--runtime/neurun/backend/acl_neon/operand/NESubTensor.h63
-rw-r--r--runtime/neurun/backend/acl_neon/operand/NETensor.cc45
-rw-r--r--runtime/neurun/backend/acl_neon/operand/NETensor.h64
-rw-r--r--runtime/neurun/backend/cpu/Backend.h64
-rw-r--r--runtime/neurun/backend/cpu/CMakeLists.txt16
-rw-r--r--runtime/neurun/backend/cpu/Config.cc30
-rw-r--r--runtime/neurun/backend/cpu/Config.h53
-rw-r--r--runtime/neurun/backend/cpu/ConstantInitializer.cc68
-rw-r--r--runtime/neurun/backend/cpu/ConstantInitializer.h55
-rw-r--r--runtime/neurun/backend/cpu/KernelGenerator.cc624
-rw-r--r--runtime/neurun/backend/cpu/KernelGenerator.h71
-rw-r--r--runtime/neurun/backend/cpu/MemoryManager.cc91
-rw-r--r--runtime/neurun/backend/cpu/MemoryManager.h63
-rw-r--r--runtime/neurun/backend/cpu/PluginClassesAllocator.cc33
-rw-r--r--runtime/neurun/backend/cpu/ShapeFixer.cc135
-rw-r--r--runtime/neurun/backend/cpu/ShapeFixer.h65
-rw-r--r--runtime/neurun/backend/cpu/TensorBuilder.cc104
-rw-r--r--runtime/neurun/backend/cpu/TensorBuilder.h88
-rw-r--r--runtime/neurun/backend/cpu/TensorManager.cc95
-rw-r--r--runtime/neurun/backend/cpu/TensorManager.h64
-rw-r--r--runtime/neurun/backend/cpu/TensorRegister.cc35
-rw-r--r--runtime/neurun/backend/cpu/TensorRegister.h50
-rw-r--r--runtime/neurun/backend/cpu/kernel/AddLayer.cc101
-rw-r--r--runtime/neurun/backend/cpu/kernel/AddLayer.h77
-rw-r--r--runtime/neurun/backend/cpu/kernel/AvgPoolLayer.cc116
-rw-r--r--runtime/neurun/backend/cpu/kernel/AvgPoolLayer.h85
-rw-r--r--runtime/neurun/backend/cpu/kernel/ConcatLayer.cc137
-rw-r--r--runtime/neurun/backend/cpu/kernel/ConcatLayer.h73
-rw-r--r--runtime/neurun/backend/cpu/kernel/ConvolutionLayer.cc140
-rw-r--r--runtime/neurun/backend/cpu/kernel/ConvolutionLayer.h88
-rw-r--r--runtime/neurun/backend/cpu/kernel/DepthwiseConvolutionLayer.cc143
-rw-r--r--runtime/neurun/backend/cpu/kernel/DepthwiseConvolutionLayer.h90
-rw-r--r--runtime/neurun/backend/cpu/kernel/FullyConnectedLayer.cc119
-rw-r--r--runtime/neurun/backend/cpu/kernel/FullyConnectedLayer.h77
-rw-r--r--runtime/neurun/backend/cpu/kernel/GatherLayer.cc79
-rw-r--r--runtime/neurun/backend/cpu/kernel/GatherLayer.h74
-rw-r--r--runtime/neurun/backend/cpu/kernel/LogisticLayer.cc75
-rw-r--r--runtime/neurun/backend/cpu/kernel/LogisticLayer.h69
-rw-r--r--runtime/neurun/backend/cpu/kernel/MaxPoolLayer.cc116
-rw-r--r--runtime/neurun/backend/cpu/kernel/MaxPoolLayer.h85
-rw-r--r--runtime/neurun/backend/cpu/kernel/MulLayer.cc101
-rw-r--r--runtime/neurun/backend/cpu/kernel/MulLayer.h77
-rw-r--r--runtime/neurun/backend/cpu/kernel/OperationUtils.cc273
-rw-r--r--runtime/neurun/backend/cpu/kernel/OperationUtils.h152
-rw-r--r--runtime/neurun/backend/cpu/kernel/PadLayer.cc76
-rw-r--r--runtime/neurun/backend/cpu/kernel/PadLayer.h75
-rw-r--r--runtime/neurun/backend/cpu/kernel/PermuteLayer.cc71
-rw-r--r--runtime/neurun/backend/cpu/kernel/PermuteLayer.h209
-rw-r--r--runtime/neurun/backend/cpu/kernel/ReshapeLayer.cc54
-rw-r--r--runtime/neurun/backend/cpu/kernel/ReshapeLayer.h65
-rw-r--r--runtime/neurun/backend/cpu/kernel/SoftMaxLayer.cc172
-rw-r--r--runtime/neurun/backend/cpu/kernel/SoftMaxLayer.h71
-rw-r--r--runtime/neurun/backend/cpu/kernel/SubLayer.cc100
-rw-r--r--runtime/neurun/backend/cpu/kernel/SubLayer.h77
-rw-r--r--runtime/neurun/backend/cpu/operand/Tensor.cc45
-rw-r--r--runtime/neurun/backend/cpu/operand/Tensor.h77
-rw-r--r--runtime/neurun/backend/cpu_common/CMakeLists.txt28
-rw-r--r--runtime/neurun/backend/cpu_common/MemoryPlanner.cc220
-rw-r--r--runtime/neurun/backend/cpu_common/MemoryPlanner.h217
-rw-r--r--runtime/neurun/backend/cpu_common/MemoryPlanner.test.cc193
-rw-r--r--runtime/neurun/backend/cpu_common/MemoryPlannerFactory.cc51
-rw-r--r--runtime/neurun/backend/cpu_common/MemoryPlannerFactory.h45
-rw-r--r--runtime/neurun/backend/hi_perf_cpu/CMakeLists.txt44
-rw-r--r--runtime/neurun/backend/hi_perf_cpu/HighPerformanceBackend.test.cc42
-rw-r--r--runtime/neurun/backend/hi_perf_cpu/KernelGenerator.cc18
-rw-r--r--runtime/neurun/backend/hi_perf_cpu/KernelGenerator.h47
-rw-r--r--runtime/neurun/backend/hi_perf_cpu/TensorBuilder.cc18
-rw-r--r--runtime/neurun/backend/hi_perf_cpu/TensorBuilder.h44
-rw-r--r--runtime/neurun/backend/srcn/Backend.h64
-rw-r--r--runtime/neurun/backend/srcn/CMakeLists.txt21
-rw-r--r--runtime/neurun/backend/srcn/Config.cc30
-rw-r--r--runtime/neurun/backend/srcn/Config.h46
-rw-r--r--runtime/neurun/backend/srcn/ConstantInitializer.cc191
-rw-r--r--runtime/neurun/backend/srcn/ConstantInitializer.h60
-rw-r--r--runtime/neurun/backend/srcn/Convert.cc75
-rw-r--r--runtime/neurun/backend/srcn/Convert.h46
-rw-r--r--runtime/neurun/backend/srcn/KernelGenerator.cc275
-rw-r--r--runtime/neurun/backend/srcn/KernelGenerator.h59
-rw-r--r--runtime/neurun/backend/srcn/MemoryManager.cc92
-rw-r--r--runtime/neurun/backend/srcn/MemoryManager.h63
-rw-r--r--runtime/neurun/backend/srcn/PluginClassesAllocator.cc33
-rw-r--r--runtime/neurun/backend/srcn/ShapeFixer.cc47
-rw-r--r--runtime/neurun/backend/srcn/ShapeFixer.h53
-rw-r--r--runtime/neurun/backend/srcn/Swizzle.h84
-rw-r--r--runtime/neurun/backend/srcn/TensorBuilder.cc107
-rw-r--r--runtime/neurun/backend/srcn/TensorBuilder.h89
-rw-r--r--runtime/neurun/backend/srcn/TensorManager.cc95
-rw-r--r--runtime/neurun/backend/srcn/TensorManager.h65
-rw-r--r--runtime/neurun/backend/srcn/TensorRegister.cc118
-rw-r--r--runtime/neurun/backend/srcn/TensorRegister.h55
-rw-r--r--runtime/neurun/backend/srcn/kernel/AddLayer.cc123
-rw-r--r--runtime/neurun/backend/srcn/kernel/AddLayer.h80
-rw-r--r--runtime/neurun/backend/srcn/kernel/ConvolutionLayer.cc233
-rw-r--r--runtime/neurun/backend/srcn/kernel/ConvolutionLayer.h89
-rw-r--r--runtime/neurun/backend/srcn/kernel/DepthwiseConvolutionLayer.cc212
-rw-r--r--runtime/neurun/backend/srcn/kernel/DepthwiseConvolutionLayer.h85
-rw-r--r--runtime/neurun/backend/srcn/kernel/InstanceNormLayer.cc155
-rw-r--r--runtime/neurun/backend/srcn/kernel/InstanceNormLayer.h77
-rw-r--r--runtime/neurun/backend/srcn/kernel/OperationUtils.cc139
-rw-r--r--runtime/neurun/backend/srcn/kernel/OperationUtils.h84
-rw-r--r--runtime/neurun/backend/srcn/kernel/TransposeConvLayer.cc136
-rw-r--r--runtime/neurun/backend/srcn/kernel/TransposeConvLayer.h83
-rw-r--r--runtime/neurun/backend/srcn/operand/Tensor.cc45
-rw-r--r--runtime/neurun/backend/srcn/operand/Tensor.h79
-rw-r--r--runtime/neurun/core/CMakeLists.txt18
-rw-r--r--runtime/neurun/core/include/backend/Backend.h67
-rw-r--r--runtime/neurun/core/include/backend/CustomKernelBuilder.h69
-rw-r--r--runtime/neurun/core/include/backend/ExecTime.h111
-rw-r--r--runtime/neurun/core/include/backend/IConfig.h47
-rw-r--r--runtime/neurun/core/include/backend/IConstantInitializer.h288
-rw-r--r--runtime/neurun/core/include/backend/IKernelGenerator.h63
-rw-r--r--runtime/neurun/core/include/backend/IMemoryManager.h49
-rw-r--r--runtime/neurun/core/include/backend/IShapeFixer.h55
-rw-r--r--runtime/neurun/core/include/backend/ITensorBuilder.h89
-rw-r--r--runtime/neurun/core/include/backend/ITensorManager.h56
-rw-r--r--runtime/neurun/core/include/backend/ITensorRegister.h164
-rw-r--r--runtime/neurun/core/include/backend/JSONExecTime.h96
-rw-r--r--runtime/neurun/core/include/backend/operand/ITensor.h54
-rw-r--r--runtime/neurun/core/include/compiler/Compiler.h91
-rw-r--r--runtime/neurun/core/include/compiler/IExecutionBuilder.h39
-rw-r--r--runtime/neurun/core/include/compiler/SubTensorInfo.h83
-rw-r--r--runtime/neurun/core/include/exec/Execution.h144
-rw-r--r--runtime/neurun/core/include/exec/ExecutionObservers.h83
-rw-r--r--runtime/neurun/core/include/exec/IExecutor.h72
-rw-r--r--runtime/neurun/core/include/exec/IFunction.h37
-rw-r--r--runtime/neurun/core/include/exec/IODescription.h66
-rw-r--r--runtime/neurun/core/include/exec/NopFunction.h54
-rw-r--r--runtime/neurun/core/include/ir/BackendSet.h40
-rw-r--r--runtime/neurun/core/include/ir/Data.h75
-rw-r--r--runtime/neurun/core/include/ir/DataType.h62
-rw-r--r--runtime/neurun/core/include/ir/Graph.h153
-rw-r--r--runtime/neurun/core/include/ir/Index.h42
-rw-r--r--runtime/neurun/core/include/ir/InternalType.h68
-rw-r--r--runtime/neurun/core/include/ir/Layout.h67
-rw-r--r--runtime/neurun/core/include/ir/LowerInfoMap.h42
-rw-r--r--runtime/neurun/core/include/ir/OpCode.h56
-rw-r--r--runtime/neurun/core/include/ir/OpSequence.h106
-rw-r--r--runtime/neurun/core/include/ir/Operand.h130
-rw-r--r--runtime/neurun/core/include/ir/OperandConstraint.h58
-rw-r--r--runtime/neurun/core/include/ir/OperandIndexMap.h34
-rw-r--r--runtime/neurun/core/include/ir/OperandIndexSequence.h60
-rw-r--r--runtime/neurun/core/include/ir/OperandInfo.h90
-rw-r--r--runtime/neurun/core/include/ir/Operands.h39
-rw-r--r--runtime/neurun/core/include/ir/Operation.h71
-rw-r--r--runtime/neurun/core/include/ir/OperationIndexList.h59
-rw-r--r--runtime/neurun/core/include/ir/OperationIndexMap.h34
-rw-r--r--runtime/neurun/core/include/ir/OperationVisitor.h52
-rw-r--r--runtime/neurun/core/include/ir/Operations.Include.h83
-rw-r--r--runtime/neurun/core/include/ir/Operations.h36
-rw-r--r--runtime/neurun/core/include/ir/Operations.lst86
-rw-r--r--runtime/neurun/core/include/ir/Shape.h84
-rw-r--r--runtime/neurun/core/include/ir/Subgraphs.h87
-rw-r--r--runtime/neurun/core/include/ir/TypeInfo.h59
-rw-r--r--runtime/neurun/core/include/ir/operand/LowerInfo.h93
-rw-r--r--runtime/neurun/core/include/ir/operand/ParentInfo.h77
-rw-r--r--runtime/neurun/core/include/ir/operand/PermuteFactor.h130
-rw-r--r--runtime/neurun/core/include/ir/operation/Abs.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/Add.h62
-rw-r--r--runtime/neurun/core/include/ir/operation/ArgMax.h62
-rw-r--r--runtime/neurun/core/include/ir/operation/AvgPool2D.h69
-rw-r--r--runtime/neurun/core/include/ir/operation/BatchToSpaceND.h50
-rw-r--r--runtime/neurun/core/include/ir/operation/Cast.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/Comparison.h72
-rw-r--r--runtime/neurun/core/include/ir/operation/Concat.h59
-rw-r--r--runtime/neurun/core/include/ir/operation/Conv2D.h68
-rw-r--r--runtime/neurun/core/include/ir/operation/Custom.h66
-rw-r--r--runtime/neurun/core/include/ir/operation/DepthToSpace.h63
-rw-r--r--runtime/neurun/core/include/ir/operation/DepthwiseConv2D.h69
-rw-r--r--runtime/neurun/core/include/ir/operation/Dequantize.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/Div.h62
-rw-r--r--runtime/neurun/core/include/ir/operation/EmbeddingLookup.h50
-rw-r--r--runtime/neurun/core/include/ir/operation/Exp.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/Floor.h51
-rw-r--r--runtime/neurun/core/include/ir/operation/FullyConnected.h66
-rw-r--r--runtime/neurun/core/include/ir/operation/Gather.h65
-rw-r--r--runtime/neurun/core/include/ir/operation/HashtableLookup.h57
-rw-r--r--runtime/neurun/core/include/ir/operation/InstanceNorm.h65
-rw-r--r--runtime/neurun/core/include/ir/operation/L2Normalization.h62
-rw-r--r--runtime/neurun/core/include/ir/operation/L2Pool2D.h68
-rw-r--r--runtime/neurun/core/include/ir/operation/LSTM.h89
-rw-r--r--runtime/neurun/core/include/ir/operation/LocalResponseNormalization.h66
-rw-r--r--runtime/neurun/core/include/ir/operation/LogicalAnd.h50
-rw-r--r--runtime/neurun/core/include/ir/operation/LogicalNot.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/LogicalOr.h50
-rw-r--r--runtime/neurun/core/include/ir/operation/Logistic.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/LowerInfo.h54
-rw-r--r--runtime/neurun/core/include/ir/operation/Max.h50
-rw-r--r--runtime/neurun/core/include/ir/operation/MaxPool2D.h68
-rw-r--r--runtime/neurun/core/include/ir/operation/Mean.h62
-rw-r--r--runtime/neurun/core/include/ir/operation/Min.h50
-rw-r--r--runtime/neurun/core/include/ir/operation/Mul.h62
-rw-r--r--runtime/neurun/core/include/ir/operation/Neg.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/OneHot.h60
-rw-r--r--runtime/neurun/core/include/ir/operation/PReLU.h50
-rw-r--r--runtime/neurun/core/include/ir/operation/Pack.h53
-rw-r--r--runtime/neurun/core/include/ir/operation/Pad.h63
-rw-r--r--runtime/neurun/core/include/ir/operation/Permute.h78
-rw-r--r--runtime/neurun/core/include/ir/operation/RNN.h70
-rw-r--r--runtime/neurun/core/include/ir/operation/RSQRT.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/ReLU.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/ReLU1.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/ReLU6.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/ReduceMax.h65
-rw-r--r--runtime/neurun/core/include/ir/operation/ReduceMin.h65
-rw-r--r--runtime/neurun/core/include/ir/operation/ReduceSum.h63
-rw-r--r--runtime/neurun/core/include/ir/operation/Reshape.h51
-rw-r--r--runtime/neurun/core/include/ir/operation/ResizeBilinear.h64
-rw-r--r--runtime/neurun/core/include/ir/operation/SQRT.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/Slice.h64
-rw-r--r--runtime/neurun/core/include/ir/operation/Softmax.h63
-rw-r--r--runtime/neurun/core/include/ir/operation/SpaceToBatchND.h53
-rw-r--r--runtime/neurun/core/include/ir/operation/SpaceToDepth.h63
-rw-r--r--runtime/neurun/core/include/ir/operation/Split.h59
-rw-r--r--runtime/neurun/core/include/ir/operation/SquaredDifference.h50
-rw-r--r--runtime/neurun/core/include/ir/operation/Squeeze.h62
-rw-r--r--runtime/neurun/core/include/ir/operation/StridedSlice.h69
-rw-r--r--runtime/neurun/core/include/ir/operation/Sub.h62
-rw-r--r--runtime/neurun/core/include/ir/operation/Tanh.h49
-rw-r--r--runtime/neurun/core/include/ir/operation/TopKV2.h69
-rw-r--r--runtime/neurun/core/include/ir/operation/Transpose.h64
-rw-r--r--runtime/neurun/core/include/ir/operation/TransposeConv.h67
-rw-r--r--runtime/neurun/core/include/ir/operation/Unpack.h59
-rw-r--r--runtime/neurun/core/include/util/Config.lst43
-rw-r--r--runtime/neurun/core/include/util/ConfigSource.h55
-rw-r--r--runtime/neurun/core/include/util/Coordinates.h103
-rw-r--r--runtime/neurun/core/include/util/EnvConfigSource.h41
-rw-r--r--runtime/neurun/core/include/util/EventCollectorGlobal.h155
-rw-r--r--runtime/neurun/core/include/util/GeneralConfigSource.h44
-rw-r--r--runtime/neurun/core/include/util/IConfigSource.h46
-rw-r--r--runtime/neurun/core/include/util/ITimer.h59
-rw-r--r--runtime/neurun/core/include/util/Index.h154
-rw-r--r--runtime/neurun/core/include/util/ObjectManager.h144
-rw-r--r--runtime/neurun/core/include/util/Padding.h41
-rw-r--r--runtime/neurun/core/include/util/Set.h166
-rw-r--r--runtime/neurun/core/include/util/ShapeInference.h59
-rw-r--r--runtime/neurun/core/include/util/Utils.h51
-rw-r--r--runtime/neurun/core/include/util/feature/Coordinate4D.h111
-rw-r--r--runtime/neurun/core/include/util/feature/nchw/Reader.h120
-rw-r--r--runtime/neurun/core/include/util/feature/nchw/View.h138
-rw-r--r--runtime/neurun/core/include/util/feature/nhwc/Reader.h121
-rw-r--r--runtime/neurun/core/include/util/feature/nhwc/View.h140
-rw-r--r--runtime/neurun/core/include/util/logging.h63
-rw-r--r--runtime/neurun/core/src/backend/Backend.cc30
-rw-r--r--runtime/neurun/core/src/backend/BackendManager.cc150
-rw-r--r--runtime/neurun/core/src/backend/BackendManager.h82
-rw-r--r--runtime/neurun/core/src/backend/ExecTime.cc133
-rw-r--r--runtime/neurun/core/src/backend/JSONExecTime.cc231
-rw-r--r--runtime/neurun/core/src/compiler/BackendResolver.cc47
-rw-r--r--runtime/neurun/core/src/compiler/BackendResolver.h102
-rw-r--r--runtime/neurun/core/src/compiler/CodeWithInfo.h44
-rw-r--r--runtime/neurun/core/src/compiler/Compiler.cc143
-rw-r--r--runtime/neurun/core/src/compiler/ExecutorFactory.cc379
-rw-r--r--runtime/neurun/core/src/compiler/ExecutorFactory.h52
-rw-r--r--runtime/neurun/core/src/compiler/HEScheduler.cc628
-rw-r--r--runtime/neurun/core/src/compiler/HEScheduler.h175
-rw-r--r--runtime/neurun/core/src/compiler/IScheduler.h38
-rw-r--r--runtime/neurun/core/src/compiler/Linear.cc317
-rw-r--r--runtime/neurun/core/src/compiler/Linear.h81
-rw-r--r--runtime/neurun/core/src/compiler/ManualScheduler.cc142
-rw-r--r--runtime/neurun/core/src/compiler/ManualScheduler.h36
-rw-r--r--runtime/neurun/core/src/compiler/OperandContext.cc45
-rw-r--r--runtime/neurun/core/src/compiler/OperandContext.h60
-rw-r--r--runtime/neurun/core/src/compiler/OperationValidator.cc985
-rw-r--r--runtime/neurun/core/src/compiler/OperationValidator.h86
-rw-r--r--runtime/neurun/core/src/compiler/ParamChecker.cc33
-rw-r--r--runtime/neurun/core/src/compiler/ParamChecker.h73
-rw-r--r--runtime/neurun/core/src/compiler/SubTensorAnalyzer.cc96
-rw-r--r--runtime/neurun/core/src/compiler/SubTensorAnalyzer.h59
-rw-r--r--runtime/neurun/core/src/dumper/dot/DotBuilder.cc83
-rw-r--r--runtime/neurun/core/src/dumper/dot/DotBuilder.h62
-rw-r--r--runtime/neurun/core/src/dumper/dot/DotDumper.cc199
-rw-r--r--runtime/neurun/core/src/dumper/dot/DotDumper.h60
-rw-r--r--runtime/neurun/core/src/dumper/dot/DotSubgraphInfo.cc56
-rw-r--r--runtime/neurun/core/src/dumper/dot/DotSubgraphInfo.h59
-rw-r--r--runtime/neurun/core/src/dumper/dot/Node.cc56
-rw-r--r--runtime/neurun/core/src/dumper/dot/Node.h127
-rw-r--r--runtime/neurun/core/src/dumper/dot/OperandNode.cc60
-rw-r--r--runtime/neurun/core/src/dumper/dot/OperandNode.h79
-rw-r--r--runtime/neurun/core/src/dumper/dot/OperationNode.cc46
-rw-r--r--runtime/neurun/core/src/dumper/dot/OperationNode.h62
-rw-r--r--runtime/neurun/core/src/exec/DataflowExecutor.cc176
-rw-r--r--runtime/neurun/core/src/exec/DataflowExecutor.h97
-rw-r--r--runtime/neurun/core/src/exec/Execution.cc135
-rw-r--r--runtime/neurun/core/src/exec/ExecutionObservee.cc64
-rw-r--r--runtime/neurun/core/src/exec/ExecutionObservee.h56
-rw-r--r--runtime/neurun/core/src/exec/ExecutionObservers.cc130
-rw-r--r--runtime/neurun/core/src/exec/ExecutorBase.cc145
-rw-r--r--runtime/neurun/core/src/exec/ExecutorBase.h127
-rw-r--r--runtime/neurun/core/src/exec/FunctionSequence.cc62
-rw-r--r--runtime/neurun/core/src/exec/FunctionSequence.h56
-rw-r--r--runtime/neurun/core/src/exec/Job.cc33
-rw-r--r--runtime/neurun/core/src/exec/Job.h69
-rw-r--r--runtime/neurun/core/src/exec/LinearExecutor.cc39
-rw-r--r--runtime/neurun/core/src/exec/LinearExecutor.h64
-rw-r--r--runtime/neurun/core/src/exec/ParallelExecutor.cc147
-rw-r--r--runtime/neurun/core/src/exec/ParallelExecutor.h69
-rw-r--r--runtime/neurun/core/src/exec/ParallelScheduler.cc55
-rw-r--r--runtime/neurun/core/src/exec/ParallelScheduler.h60
-rw-r--r--runtime/neurun/core/src/exec/Sink.h205
-rw-r--r--runtime/neurun/core/src/exec/Source.h211
-rw-r--r--runtime/neurun/core/src/exec/ThreadPool.cc65
-rw-r--r--runtime/neurun/core/src/exec/ThreadPool.h73
-rw-r--r--runtime/neurun/core/src/exec/WorkQueue.cc104
-rw-r--r--runtime/neurun/core/src/exec/WorkQueue.h87
-rw-r--r--runtime/neurun/core/src/exec/interp/Buffer.h94
-rw-r--r--runtime/neurun/core/src/exec/interp/ExecEnv.h165
-rw-r--r--runtime/neurun/core/src/exec/interp/ExecManager.cc125
-rw-r--r--runtime/neurun/core/src/exec/interp/ExecManager.h71
-rw-r--r--runtime/neurun/core/src/exec/interp/Interpreter.cc210
-rw-r--r--runtime/neurun/core/src/exec/interp/Interpreter.h67
-rw-r--r--runtime/neurun/core/src/exec/interp/Registration.h63
-rw-r--r--runtime/neurun/core/src/exec/interp/Tensor.cc59
-rw-r--r--runtime/neurun/core/src/exec/interp/Tensor.h180
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/AvgPool2D.cc129
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/BinaryArithmeticOps.cc202
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/Concat.cc150
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/Conv2D.cc152
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/DepthwiseConv.cc159
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/FullyConnected.cc137
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/Gather.cc141
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/InstanceNorm.cc124
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/Logistic.cc102
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/MaxPool2D.cc128
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/OperationUtil.h177
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/Pad.cc109
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/Reshape.cc66
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/SoftMax.cc163
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/TransposeConv.cc145
-rw-r--r--runtime/neurun/core/src/exec/interp/operations/UnaryActivations.cc156
-rw-r--r--runtime/neurun/core/src/ir/Graph.cc551
-rw-r--r--runtime/neurun/core/src/ir/GraphIterator.cc84
-rw-r--r--runtime/neurun/core/src/ir/GraphIterator.h74
-rw-r--r--runtime/neurun/core/src/ir/LayoutSet.cc66
-rw-r--r--runtime/neurun/core/src/ir/LayoutSet.h58
-rw-r--r--runtime/neurun/core/src/ir/OpCode.cc37
-rw-r--r--runtime/neurun/core/src/ir/OpSequence.cc83
-rw-r--r--runtime/neurun/core/src/ir/Operand.cc70
-rw-r--r--runtime/neurun/core/src/ir/OperandIndexSequence.cc58
-rw-r--r--runtime/neurun/core/src/ir/Operation.cc55
-rw-r--r--runtime/neurun/core/src/ir/OperationIndexList.cc37
-rw-r--r--runtime/neurun/core/src/ir/Shape.cc85
-rw-r--r--runtime/neurun/core/src/ir/Subgraphs.cc87
-rw-r--r--runtime/neurun/core/src/ir/TypeInfo.cc47
-rw-r--r--runtime/neurun/core/src/ir/dumper/Dumper.cc633
-rw-r--r--runtime/neurun/core/src/ir/dumper/Dumper.h102
-rw-r--r--runtime/neurun/core/src/ir/operand/Shape4DConvert.h57
-rw-r--r--runtime/neurun/core/src/ir/operation/Abs.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/Add.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/ArgMax.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/AvgPool2D.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/BatchToSpaceND.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Cast.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/Comparison.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Concat.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Conv2D.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Custom.cc46
-rw-r--r--runtime/neurun/core/src/ir/operation/DepthToSpace.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/DepthwiseConv2D.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Dequantize.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/Div.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/EmbeddingLookup.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Exp.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/Floor.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/FullyConnected.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Gather.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/HashtableLookup.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/InstanceNorm.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/L2Normalization.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/L2Pool2D.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/LSTM.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/LocalResponseNormalization.cc41
-rw-r--r--runtime/neurun/core/src/ir/operation/LogicalAnd.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/LogicalNot.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/LogicalOr.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/Logistic.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/LowerInfo.cc34
-rw-r--r--runtime/neurun/core/src/ir/operation/Max.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/MaxPool2D.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Mean.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Min.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/Mul.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Neg.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/OneHot.cc37
-rw-r--r--runtime/neurun/core/src/ir/operation/PReLU.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/Pack.cc33
-rw-r--r--runtime/neurun/core/src/ir/operation/Pad.cc38
-rw-r--r--runtime/neurun/core/src/ir/operation/Permute.cc44
-rw-r--r--runtime/neurun/core/src/ir/operation/RNN.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/RSQRT.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/ReLU.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/ReLU1.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/ReLU6.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/ReduceMax.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/ReduceMin.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/ReduceSum.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Reshape.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/ResizeBilinear.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/SQRT.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/Slice.cc37
-rw-r--r--runtime/neurun/core/src/ir/operation/Softmax.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/SpaceToBatchND.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/SpaceToDepth.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Split.cc33
-rw-r--r--runtime/neurun/core/src/ir/operation/SquaredDifference.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Squeeze.cc37
-rw-r--r--runtime/neurun/core/src/ir/operation/StridedSlice.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Sub.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Tanh.cc39
-rw-r--r--runtime/neurun/core/src/ir/operation/TopKV2.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Transpose.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/TransposeConv.cc40
-rw-r--r--runtime/neurun/core/src/ir/operation/Unpack.cc33
-rw-r--r--runtime/neurun/core/src/ir/pass/ConstantInsertionPass.cc104
-rw-r--r--runtime/neurun/core/src/ir/pass/ConstantInsertionPass.h75
-rw-r--r--runtime/neurun/core/src/ir/pass/OperandPass.cc36
-rw-r--r--runtime/neurun/core/src/ir/pass/OperandPass.h53
-rw-r--r--runtime/neurun/core/src/ir/pass/OperationPass.cc38
-rw-r--r--runtime/neurun/core/src/ir/pass/OperationPass.h76
-rw-r--r--runtime/neurun/core/src/ir/pass/Pass.h55
-rw-r--r--runtime/neurun/core/src/ir/pass/PermutationEliminationPass.cc195
-rw-r--r--runtime/neurun/core/src/ir/pass/PermutationEliminationPass.h86
-rw-r--r--runtime/neurun/core/src/ir/pass/PermutationInsertionPass.cc209
-rw-r--r--runtime/neurun/core/src/ir/pass/PermutationInsertionPass.h59
-rw-r--r--runtime/neurun/core/src/ir/pass/PermutationOperationPass.cc230
-rw-r--r--runtime/neurun/core/src/ir/pass/PermutationOperationPass.h54
-rw-r--r--runtime/neurun/core/src/ir/verifier/Verifier.cc96
-rw-r--r--runtime/neurun/core/src/ir/verifier/Verifier.h68
-rw-r--r--runtime/neurun/core/src/library_info.cc17
-rw-r--r--runtime/neurun/core/src/util/ConfigSource.cc116
-rw-r--r--runtime/neurun/core/src/util/EnvConfigSource.cc40
-rw-r--r--runtime/neurun/core/src/util/EventCollectorGlobal.cc86
-rw-r--r--runtime/neurun/core/src/util/GeneralConfigSource.cc45
-rw-r--r--runtime/neurun/core/src/util/Padding.cc119
-rw-r--r--runtime/neurun/core/src/util/ShapeInference.cc200
-rw-r--r--runtime/neurun/core/src/util/Utils.cc68
-rw-r--r--runtime/neurun/core/src/util/logging.cc7
-rw-r--r--runtime/neurun/frontend/CMakeLists.txt1
-rw-r--r--runtime/neurun/frontend/base_loader/CMakeLists.txt7
-rw-r--r--runtime/neurun/frontend/base_loader/include/base_loader.h1278
-rw-r--r--runtime/neurun/frontend/circle/CMakeLists.txt17
-rw-r--r--runtime/neurun/frontend/circle/include/circle_loader.h32
-rw-r--r--runtime/neurun/frontend/circle/src/circle_loader.cc116
-rw-r--r--runtime/neurun/frontend/circle/src/circle_schema_generated.h7546
-rw-r--r--runtime/neurun/frontend/nnapi/ANeuralNetworksModel.test.cc25
-rw-r--r--runtime/neurun/frontend/nnapi/CMakeLists.txt23
-rw-r--r--runtime/neurun/frontend/nnapi/compilation.cc110
-rw-r--r--runtime/neurun/frontend/nnapi/event.cc36
-rw-r--r--runtime/neurun/frontend/nnapi/execution.cc480
-rw-r--r--runtime/neurun/frontend/nnapi/memory.cc42
-rw-r--r--runtime/neurun/frontend/nnapi/model.cc411
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksCompilation.cc42
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksCompilation.h42
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksEvent.cc43
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksEvent.h44
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksExecution.cc289
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksExecution.h74
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksMemory.cc46
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksMemory.h39
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksModel.cc268
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/ANeuralNetworksModel.h71
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/NNAPIConvert.cc100
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/NNAPIConvert.h78
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/OperationFactory.cc1680
-rw-r--r--runtime/neurun/frontend/nnapi/wrapper/OperationFactory.h60
-rw-r--r--runtime/neurun/frontend/tflite/CMakeLists.txt17
-rw-r--r--runtime/neurun/frontend/tflite/include/tflite_loader.h34
-rw-r--r--runtime/neurun/frontend/tflite/src/tflite_loader.cc105
-rw-r--r--runtime/neurun/frontend/tflite/src/tflite_schema_generated.h7275
-rw-r--r--runtime/neurun/frontend/tflite/tflite_schema.fbs795
-rw-r--r--runtime/neurun/sample/CMakeLists.txt1
-rw-r--r--runtime/neurun/sample/minimal/CMakeLists.txt10
-rw-r--r--runtime/neurun/sample/minimal/README.md13
-rw-r--r--runtime/neurun/sample/minimal/src/minimal.cc67
-rw-r--r--runtime/neurun/test/CMakeLists.txt15
-rw-r--r--runtime/neurun/test/core/backend/ExecTime.test.cc98
-rw-r--r--runtime/neurun/test/core/compiler/Scheduler.cc550
-rw-r--r--runtime/neurun/test/core/exec/ExecInstance.cc307
-rw-r--r--runtime/neurun/test/core/exec/interp/ExecManager.cc334
-rw-r--r--runtime/neurun/test/graph/Graph.cc52
-rw-r--r--runtime/neurun/test/graph/Index.cc34
-rw-r--r--runtime/neurun/test/graph/MockNode.h47
-rw-r--r--runtime/neurun/test/graph/operand/IndexSet.cc52
-rw-r--r--runtime/neurun/test/graph/operand/LayoutSet.cc43
-rw-r--r--runtime/neurun/test/graph/operand/Set.cc45
-rw-r--r--runtime/neurun/test/graph/operand/UseDef.cc85
-rw-r--r--runtime/neurun/test/graph/operation/Set.cc33
-rw-r--r--runtime/neurun/test/graph/operation/SetIO.cc99
-rw-r--r--runtime/neurun/test/graph/verifier/Verifier.cc49
-rw-r--r--runtime/neurun/test/util/ShapeInference.cc233
-rw-r--r--runtime/nnapi-header/CMakeLists.txt8
-rw-r--r--runtime/nnapi-header/include/NeuralNetworks.h6444
-rw-r--r--runtime/nnapi-header/include/NeuralNetworksEx.h622
-rw-r--r--runtime/nnapi-header/include/NeuralNetworksExtensions.h117
-rw-r--r--runtimes/CMakeLists.txt13
-rw-r--r--runtimes/logging/CMakeLists.txt5
-rw-r--r--runtimes/logging/src/nnapi_logging.cc404
-rw-r--r--runtimes/neurun/CMakeLists.txt59
-rw-r--r--runtimes/neurun/src/backend/BackendManager.cc118
-rw-r--r--runtimes/neurun/src/backend/BackendManager.h94
-rw-r--r--runtimes/neurun/src/backend/CMakeLists.txt2
-rw-r--r--runtimes/neurun/src/backend/acl_cl/CMakeLists.txt15
-rw-r--r--runtimes/neurun/src/backend/acl_cl/Config.cc32
-rw-r--r--runtimes/neurun/src/backend/acl_cl/Config.h47
-rw-r--r--runtimes/neurun/src/backend/acl_cl/Convert.cc87
-rw-r--r--runtimes/neurun/src/backend/acl_cl/Convert.h47
-rw-r--r--runtimes/neurun/src/backend/acl_cl/PluginClassesAllocator.cc43
-rw-r--r--runtimes/neurun/src/backend/acl_cl/StageGenerator.cc593
-rw-r--r--runtimes/neurun/src/backend/acl_cl/StageGenerator.h54
-rw-r--r--runtimes/neurun/src/backend/acl_cl/Swizzle.h95
-rw-r--r--runtimes/neurun/src/backend/acl_cl/TensorBuilder.cc246
-rw-r--r--runtimes/neurun/src/backend/acl_cl/TensorBuilder.h94
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/CLSubTensor.cc61
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/CLSubTensor.h63
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/CLTensor.cc81
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/CLTensor.h67
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/ICLTensor.cc48
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/ICLTensor.h73
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/Object.cc43
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/Object.h62
-rw-r--r--runtimes/neurun/src/backend/cpu/CMakeLists.txt18
-rw-r--r--runtimes/neurun/src/backend/cpu/Config.cc33
-rw-r--r--runtimes/neurun/src/backend/cpu/Config.h51
-rw-r--r--runtimes/neurun/src/backend/cpu/MemoryPlanner.cc127
-rw-r--r--runtimes/neurun/src/backend/cpu/MemoryPlanner.h166
-rw-r--r--runtimes/neurun/src/backend/cpu/PluginClassesAllocator.cc43
-rw-r--r--runtimes/neurun/src/backend/cpu/StageGenerator.cc547
-rw-r--r--runtimes/neurun/src/backend/cpu/StageGenerator.h55
-rw-r--r--runtimes/neurun/src/backend/cpu/TensorBuilder.cc124
-rw-r--r--runtimes/neurun/src/backend/cpu/TensorBuilder.h82
-rw-r--r--runtimes/neurun/src/backend/cpu/operand/Object.cc37
-rw-r--r--runtimes/neurun/src/backend/cpu/operand/Object.h61
-rw-r--r--runtimes/neurun/src/backend/cpu/operand/Tensor.cc39
-rw-r--r--runtimes/neurun/src/backend/cpu/operand/Tensor.h74
-rw-r--r--runtimes/neurun/src/backend/interface/IConfig.h44
-rw-r--r--runtimes/neurun/src/backend/interface/IStageGenerator.h72
-rw-r--r--runtimes/neurun/src/backend/interface/ITensorBuilder.h79
-rw-r--r--runtimes/neurun/src/backend/interface/operand/IObject.h43
-rw-r--r--runtimes/neurun/src/backend/interface/operand/ITensor.h49
-rw-r--r--runtimes/neurun/src/compiler/BackendResolver.cc27
-rw-r--r--runtimes/neurun/src/compiler/BackendResolver.h88
-rw-r--r--runtimes/neurun/src/compiler/Compiler.cc124
-rw-r--r--runtimes/neurun/src/compiler/Compiler.h73
-rw-r--r--runtimes/neurun/src/compiler/ConstantInitializer.cc188
-rw-r--r--runtimes/neurun/src/compiler/ConstantInitializer.h43
-rw-r--r--runtimes/neurun/src/compiler/OperationValidator.cc121
-rw-r--r--runtimes/neurun/src/compiler/OperationValidator.h56
-rw-r--r--runtimes/neurun/src/compiler/Plan.cc27
-rw-r--r--runtimes/neurun/src/compiler/Plan.h71
-rw-r--r--runtimes/neurun/src/compiler/PlanBuilder.cc60
-rw-r--r--runtimes/neurun/src/compiler/PlanBuilder.h72
-rw-r--r--runtimes/neurun/src/compiler/SubTensorAnalyzer.cc78
-rw-r--r--runtimes/neurun/src/compiler/SubTensorAnalyzer.h66
-rw-r--r--runtimes/neurun/src/compiler/SubTensorInfo.h84
-rw-r--r--runtimes/neurun/src/compiler/TensorInfo.h60
-rw-r--r--runtimes/neurun/src/compiler/operand/Context.cc47
-rw-r--r--runtimes/neurun/src/compiler/operand/Context.h66
-rw-r--r--runtimes/neurun/src/compiler/operation/Sequence.cc30
-rw-r--r--runtimes/neurun/src/compiler/operation/Sequence.h54
-rw-r--r--runtimes/neurun/src/dumper/dot/DotBuilder.cc85
-rw-r--r--runtimes/neurun/src/dumper/dot/DotBuilder.h79
-rw-r--r--runtimes/neurun/src/dumper/dot/DotDumper.cc115
-rw-r--r--runtimes/neurun/src/dumper/dot/DotDumper.h63
-rw-r--r--runtimes/neurun/src/dumper/dot/DotNodeInfo.cc108
-rw-r--r--runtimes/neurun/src/dumper/dot/DotNodeInfo.h71
-rw-r--r--runtimes/neurun/src/dumper/dot/DotOperandInfo.cc129
-rw-r--r--runtimes/neurun/src/dumper/dot/DotOperandInfo.h77
-rw-r--r--runtimes/neurun/src/dumper/dot/IDotInfo.h67
-rw-r--r--runtimes/neurun/src/exec/Sink.h137
-rw-r--r--runtimes/neurun/src/exec/Source.h139
-rw-r--r--runtimes/neurun/src/exec/interface/IFunction.h36
-rw-r--r--runtimes/neurun/src/frontend/compilation.cc78
-rw-r--r--runtimes/neurun/src/frontend/event.cc31
-rw-r--r--runtimes/neurun/src/frontend/execution.cc328
-rw-r--r--runtimes/neurun/src/frontend/memory.cc45
-rw-r--r--runtimes/neurun/src/frontend/model.cc480
-rw-r--r--runtimes/neurun/src/frontend/wrapper/compilation.cc31
-rw-r--r--runtimes/neurun/src/frontend/wrapper/compilation.h43
-rw-r--r--runtimes/neurun/src/frontend/wrapper/event.h24
-rw-r--r--runtimes/neurun/src/frontend/wrapper/execution.h69
-rw-r--r--runtimes/neurun/src/frontend/wrapper/memory.cc31
-rw-r--r--runtimes/neurun/src/frontend/wrapper/memory.h38
-rw-r--r--runtimes/neurun/src/frontend/wrapper/model.cc58
-rw-r--r--runtimes/neurun/src/frontend/wrapper/model.h47
-rw-r--r--runtimes/neurun/src/graph/Graph.cc334
-rw-r--r--runtimes/neurun/src/graph/Graph.h152