summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunseok Lee <chunseok.lee@samsung.com>2018-09-18 07:53:40 (GMT)
committerChunseok Lee <chunseok.lee@samsung.com>2018-09-18 07:53:40 (GMT)
commit91f4ba45449f700a047a4aeea00b1a7c84e94c75 (patch)
treec60eecdba0861c51010fb0519f8a59668d90a6d2
parent07659ccd9fe7b1cf1547cc6cad78bcf489f0a361 (diff)
downloadnnfw-91f4ba45449f700a047a4aeea00b1a7c84e94c75.zip
nnfw-91f4ba45449f700a047a4aeea00b1a7c84e94c75.tar.gz
nnfw-91f4ba45449f700a047a4aeea00b1a7c84e94c75.tar.bz2
Imported Upstream version 0.2upstream/0.2submit/tizen/20180918.075952
-rw-r--r--.ctags6
-rw-r--r--.gitignore34
-rw-r--r--.gitmodules8
-rw-r--r--CMakeLists.txt195
-rw-r--r--LICENSE416
-rw-r--r--Makefile59
-rw-r--r--README.md33
-rw-r--r--benchmark/CMakeLists.txt3
-rw-r--r--benchmark/acl/Benchmark.cpp74
-rw-r--r--benchmark/acl/Benchmark.h82
-rw-r--r--benchmark/acl/CMakeLists.txt20
-rw-r--r--benchmark/acl/benchmark_googlenet.cpp242
-rw-r--r--benchmark/acl/benchmark_inception_v3.cpp891
-rw-r--r--benchmark/acl/benchmark_mobilenet.cpp265
-rw-r--r--cmake/ApplyCompileFlags.cmake15
-rw-r--r--cmake/CfgOptionFlags.cmake23
-rw-r--r--cmake/config/config_aarch64-linux.cmake7
-rw-r--r--cmake/config/config_aarch64-tizen.cmake1
-rw-r--r--cmake/config/config_armv7l-linux.cmake3
-rw-r--r--cmake/config/config_armv7l-tizen.cmake1
-rw-r--r--cmake/modules/ExternalProjectTools.cmake5
-rw-r--r--cmake/modules/ExternalSourceTools.cmake49
-rw-r--r--cmake/modules/OptionTools.cmake11
-rw-r--r--cmake/option/identify_platform.cmake48
-rw-r--r--cmake/option/option_arm64-android.cmake5
-rw-r--r--cmake/option/option_armv7l-linux.cmake10
-rw-r--r--cmake/option/option_linux.cmake24
-rw-r--r--cmake/packages/ARMCompute/CMakeLists.txt153
-rw-r--r--cmake/packages/ARMComputeConfig.cmake88
-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/FlatBuffersConfig.cmake73
-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/TensorFlowSourceConfig.cmake18
-rw-r--r--cmake/packages/TensorflowConfig.cmake44
-rw-r--r--contrib/CMakeLists.txt6
-rw-r--r--contrib/README.md10
-rw-r--r--contrib/TFLiteSharp/README.md92
-rw-r--r--contrib/TFLiteSharp/TFLiteNative/CMakeLists.txt67
-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/TFLiteSharp/TFLiteNative/tflite-native.pc.in13
-rw-r--r--contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp.sln25
-rw-r--r--contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/Interop/Interop.Libraries.cs23
-rw-r--r--contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/Interop/Interop.TFLite.cs37
-rw-r--r--contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/TFLiteSharp.csproj52
-rw-r--r--contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/src/Datatype.cs31
-rw-r--r--contrib/TFLiteSharp/TFLiteSharp/TFLiteSharp/src/Interpreter.cs263
-rw-r--r--contrib/TFLiteSharp/TFLiteSharpTest/TFLiteSharpTest.sln31
-rw-r--r--contrib/TFLiteSharp/TFLiteSharpTest/TFLiteSharpTest/Program.cs38
-rw-r--r--contrib/TFLiteSharp/TFLiteSharpTest/TFLiteSharpTest/TFLiteSharpTest.csproj12
-rw-r--r--contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp.csproj54
-rw-r--r--contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp_App.cs65
-rw-r--r--contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp_Main.cs20
-rw-r--r--contrib/TFLiteSharp/TFLiteTestApp/res/mobilenet_v1_1.0_224.tflitebin0 -> 16900960 bytes
-rw-r--r--contrib/TFLiteSharp/TFLiteTestApp/res/mouse1.bmpbin0 -> 2764854 bytes
-rw-r--r--contrib/TFLiteSharp/TFLiteTestApp/res/mouse_224.bmpbin0 -> 150582 bytes
-rw-r--r--contrib/TFLiteSharp/TFLiteTestApp/shared/res/TFLiteTestApp.pngbin0 -> 10097 bytes
-rw-r--r--contrib/TFLiteSharp/TFLiteTestApp/tizen-manifest.xml14
-rw-r--r--contrib/TFLiteSharp/packaging/TFLiteSharp.manifest5
-rw-r--r--contrib/TFLiteSharp/packaging/TFLiteSharp.spec103
-rw-r--r--contrib/TFLiteSharp/packaging/tflite-native.manifest5
-rw-r--r--contrib/bindacl/CMakeLists.txt20
-rw-r--r--contrib/bindacl/README.md13
-rw-r--r--contrib/bindacl/src/nnapi_acl.cc264
-rw-r--r--contrib/convacl/CMakeLists.txt20
-rw-r--r--contrib/convacl/src/io_accessor.cc110
-rw-r--r--contrib/convacl/src/io_accessor.h93
-rw-r--r--contrib/convacl/src/nnapi_acl_conv.cc239
-rw-r--r--contrib/detection/CMakeLists.txt11
-rw-r--r--contrib/detection/detection.cpp57
-rw-r--r--contrib/example/CMakeLists.txt1
-rw-r--r--contrib/example/example.cpp23
-rw-r--r--contrib/jniacl/CMakeLists.txt22
-rw-r--r--contrib/jniacl/src/io_accessor.cc100
-rw-r--r--contrib/jniacl/src/io_accessor.h93
-rw-r--r--contrib/jniacl/src/jniacl_main.cc39
-rw-r--r--contrib/kerneltesting/CMakeLists.txt23
-rw-r--r--contrib/kerneltesting/conv2d/CMakeLists.txt15
-rw-r--r--contrib/kerneltesting/conv2d/OperationUtils.h90
-rw-r--r--contrib/kerneltesting/conv2d/common.h89
-rw-r--r--contrib/kerneltesting/conv2d/compatibility.h78
-rw-r--r--contrib/kerneltesting/conv2d/io_accessor.cpp124
-rw-r--r--contrib/kerneltesting/conv2d/io_accessor.h104
-rw-r--r--contrib/kerneltesting/conv2d/nnfw_conv2d_test.cpp607
-rw-r--r--contrib/kerneltesting/conv2d/optimized_ops.h339
-rw-r--r--contrib/kerneltesting/conv2d/types.h146
-rw-r--r--contrib/opencl_test/CMakeLists.txt11
-rw-r--r--contrib/opencl_test/README.md8
-rw-r--r--contrib/opencl_test/src/opencl_test.cc252
-rw-r--r--contrib/tf_test/CMakeLists.txt12
-rw-r--r--contrib/tf_test/tf_test.cpp236
-rw-r--r--docs/HowToContribute.md72
-rw-r--r--docs/HowToImplementOperatorKernel.md1
-rw-r--r--docs/doxygen/Doxyfile2500
-rw-r--r--docs/fig/nnfw_architecture.pngbin0 -> 28876 bytes
-rw-r--r--docs/fig/nnfw_architecture.pptxbin0 -> 72036 bytes
-rw-r--r--docs/fig/nnfw_behavior.pngbin0 -> 14254 bytes
-rw-r--r--docs/fig/nnfw_behavior.pptxbin0 -> 59844 bytes
-rw-r--r--docs/howto.md36
-rw-r--r--docs/howto/BuildTFfromSource.md66
-rw-r--r--docs/howto/CrossBuildForAarch64.md81
-rw-r--r--docs/howto/CrossBuildForArm.md107
-rw-r--r--docs/howto/HowToAddUnittest.md10
-rw-r--r--docs/howto/HowToUseDockerImage.md135
-rw-r--r--docs/howto/device/xu3-dip.pngbin0 -> 262925 bytes
-rw-r--r--docs/howto/device/xu3_ubuntu.md114
-rw-r--r--docs/howto/device/xu4_tizen.md247
-rw-r--r--docs/howto/device/xu4_ubuntu.md99
-rw-r--r--docs/project/2018_high_level_design.md79
-rw-r--r--docs/project/2018_requirement_specification.md113
-rw-r--r--docs/roadmap.md123
-rw-r--r--docs/tests/Convolution_manual_3x3.xlsxbin0 -> 19844 bytes
-rw-r--r--docs/tests/Softmax_manual.xlsxbin0 -> 15940 bytes
-rw-r--r--docs/workgroups.md19
-rw-r--r--externals/CMakeLists.txt104
-rw-r--r--externals/acl.cmake150
-rw-r--r--externals/eigen3.cmake12
-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.h1675
-rw-r--r--include/NeuralNetworksEx.h65
-rw-r--r--include/NeuralNetworksExShim.h60
-rw-r--r--include/NeuralNetworksLoadHelpers.h76
-rw-r--r--include/NeuralNetworksShim.h675
-rw-r--r--include/kernel/acl/Add.h44
-rw-r--r--include/kernel/acl/Mul.h43
-rw-r--r--include/kernel/acl/ReLU.h40
-rw-r--r--include/kernel/acl/ReLU6.h45
-rw-r--r--include/nnfw/std/memory.h17
-rw-r--r--include/support/nnapi/Utils.h35
-rw-r--r--include/support/nnapi/feature/Reader.h10
-rw-r--r--include/support/tflite/Assert.h38
-rw-r--r--include/support/tflite/Diff.h92
-rw-r--r--include/support/tflite/InterpreterSession.h73
-rw-r--r--include/support/tflite/NNAPISession.h77
-rw-r--r--include/support/tflite/Quantization.h31
-rw-r--r--include/support/tflite/Session.h44
-rw-r--r--include/support/tflite/TensorLogger.h166
-rw-r--r--include/support/tflite/TensorShapeUtils.h51
-rw-r--r--include/support/tflite/TensorView.h42
-rw-r--r--include/support/tflite/kernels/CustomOps.h52
-rw-r--r--include/support/tflite/kernels/RSQRT.h44
-rw-r--r--include/support/tflite/kernels/SquaredDifference.h44
-rw-r--r--include/support/tflite/kernels/TensorFlowMax.h44
-rw-r--r--include/support/tflite/kernels/register.h40
-rw-r--r--include/support/tflite/nnapi_delegate.h84
-rw-r--r--include/util/EnvVar.h77
-rw-r--r--include/util/benchmark.h63
-rw-r--r--include/util/environment.h74
-rw-r--r--include/util/feature/Index.h67
-rw-r--r--include/util/feature/IndexIterator.h72
-rw-r--r--include/util/feature/Object.h79
-rw-r--r--include/util/feature/Reader.h41
-rw-r--r--include/util/feature/Shape.h51
-rw-r--r--include/util/feature/TextFormatter.h82
-rw-r--r--include/util/fp32.h (renamed from libs/util/include/util/fp32.h)0
-rw-r--r--include/util/kernel/IndexIterator.h72
-rw-r--r--include/util/kernel/RandomObject.h71
-rw-r--r--include/util/kernel/Reader.h (renamed from libs/util/include/util/kernel/Reader.h)0
-rw-r--r--include/util/kernel/Shape.h (renamed from libs/util/include/util/kernel/Shape.h)0
-rw-r--r--include/util/matrix/IndexIterator.h66
-rw-r--r--include/util/matrix/Reader.h40
-rw-r--r--include/util/matrix/Shape.h46
-rw-r--r--include/util/profiling/profile_buffer.h162
-rw-r--r--include/util/profiling/profiler.h195
-rw-r--r--include/util/profiling/profiling.h79
-rw-r--r--include/util/profiling/time.h43
-rw-r--r--include/util/tensor/Comparator.h65
-rw-r--r--include/util/tensor/Diff.h51
-rw-r--r--include/util/tensor/Index.h69
-rw-r--r--include/util/tensor/IndexEnumerator.h101
-rw-r--r--include/util/tensor/IndexFormatter.h (renamed from libs/util/include/util/tensor/IndexFormatter.h)0
-rw-r--r--include/util/tensor/IndexIterator.h70
-rw-r--r--include/util/tensor/NonIncreasingStride.h (renamed from libs/util/include/util/tensor/NonIncreasingStride.h)0
-rw-r--r--include/util/tensor/Object.h72
-rw-r--r--include/util/tensor/Reader.h (renamed from libs/util/include/util/tensor/Reader.h)0
-rw-r--r--include/util/tensor/Shape.h84
-rw-r--r--include/util/tensor/Zipper.h69
-rw-r--r--include/util/vector.h40
-rw-r--r--include/util/vector/Object.h63
-rw-r--r--include/util/vector/Reader.h (renamed from libs/util/include/util/vector/Reader.h)0
-rw-r--r--libs/.FORMATCHECKED (renamed from tools/cross/apt_proxy)0
-rw-r--r--libs/ARMComputeEx/CMakeLists.txt21
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/CLKernelLibraryEx.h189
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLCastKernel.h57
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLGatherKernel.h71
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLPixelWiseDivisionKernel.h87
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLReduceMaxKernel.h73
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLReductionMeanKernel.h78
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLStridedSliceKernel.h106
-rw-r--r--libs/ARMComputeEx/arm_compute/core/CL/kernels/CLTopKV2Kernel.h301
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLCast.h45
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLGather.h49
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLPixelWiseDivision.h72
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLReduceMax.h81
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLReductionMean.h73
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLStridedSlice.h69
-rw-r--r--libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLTopKV2.h109
-rw-r--r--libs/ARMComputeEx/resolve_includes.py102
-rw-r--r--libs/ARMComputeEx/src/core/CL/CLKernelLibrary.cpp547
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/arithmetic_op_quantized.cl138
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/cast.cl148
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/fixed_point.h565
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/gather.cl106
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/helpers.h344
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/helpers_asymm.h406
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/pixelwise_div_float.cl96
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/pixelwise_div_int.cl103
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/pixelwise_mul_quantized.cl119
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/reduce_max.cl60
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/reduction_mean.cl69
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/strided_slice.cl104
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/topkv2.cl111
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/topkv2_quicksort.cl138
-rw-r--r--libs/ARMComputeEx/src/core/CL/cl_kernels/topkv2_radixsort.cl279
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLCastKernel.cpp109
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLGatherKernel.cpp142
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLPixelWiseDivisionKernel.cpp322
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLReduceMaxKernel.cpp129
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLReductionMeanKernel.cpp198
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLStridedSliceKernel.cpp304
-rw-r--r--libs/ARMComputeEx/src/core/CL/kernels/CLTopKV2Kernel.cpp475
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLCast.cpp29
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLGather.cpp38
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLPixelWiseDivision.cpp52
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLReduceMax.cpp121
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLReductionMean.cpp51
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLStridedSlice.cpp307
-rw-r--r--libs/ARMComputeEx/src/runtime/CL/functions/CLTopKV2.cpp305
-rw-r--r--libs/ARMComputeEx/src/runtime/topk_v2.h143
-rw-r--r--libs/CMakeLists.txt4
-rw-r--r--libs/kernel/CMakeLists.txt3
-rw-r--r--libs/kernel/acl/CMakeLists.txt94
-rw-r--r--libs/kernel/acl/src/CLUniqueTensor.h63
-rw-r--r--libs/kernel/acl/src/DepthwiseConv2D.h98
-rw-r--r--libs/kernel/acl/src/DepthwiseConv2D.test.h245
-rw-r--r--libs/kernel/acl/src/FullyConnected.h149
-rw-r--r--libs/kernel/acl/src/FullyConnected.test.h266
-rw-r--r--libs/kernel/acl/src/IO_accessor.cpp310
-rw-r--r--libs/kernel/acl/src/IO_accessor.h196
-rw-r--r--libs/kernel/acl/src/Init_acl.cpp32
-rw-r--r--libs/kernel/acl/src/NEUniqueTensor.h64
-rw-r--r--libs/kernel/acl/src/Reshape.h70
-rw-r--r--libs/kernel/acl/src/Reshape.test.h51
-rw-r--r--libs/kernel/acl/src/cl/Concatenation.cpp104
-rw-r--r--libs/kernel/acl/src/cl/Concatenation.test.cpp62
-rw-r--r--libs/kernel/acl/src/cl/Conv2D.cpp113
-rw-r--r--libs/kernel/acl/src/cl/Conv2D.test.cpp202
-rw-r--r--libs/kernel/acl/src/cl/DepthwiseConv2D.cpp60
-rw-r--r--libs/kernel/acl/src/cl/DepthwiseConv2D.test.cpp20
-rw-r--r--libs/kernel/acl/src/cl/FullyConnected.cpp53
-rw-r--r--libs/kernel/acl/src/cl/FullyConnected.test.cpp20
-rw-r--r--libs/kernel/acl/src/cl/Pooling.cpp130
-rw-r--r--libs/kernel/acl/src/cl/Pooling.test.cpp482
-rw-r--r--libs/kernel/acl/src/cl/Reshape.cpp43
-rw-r--r--libs/kernel/acl/src/cl/Reshape.test.cpp20
-rw-r--r--libs/kernel/acl/src/cl/Softmax.cpp78
-rw-r--r--libs/kernel/acl/src/cl/Softmax.test.cpp105
-rw-r--r--libs/kernel/acl/src/gtest_env.cpp37
-rw-r--r--libs/kernel/acl/src/neon/Concatenation.cpp105
-rw-r--r--libs/kernel/acl/src/neon/Concatenation.test.cpp62
-rw-r--r--libs/kernel/acl/src/neon/Conv2D.cpp111
-rw-r--r--libs/kernel/acl/src/neon/Conv2D.test.cpp202
-rw-r--r--libs/kernel/acl/src/neon/DepthwiseConv2D.cpp61
-rw-r--r--libs/kernel/acl/src/neon/DepthwiseConv2D.test.cpp20
-rw-r--r--libs/kernel/acl/src/neon/FullyConnected.cpp58
-rw-r--r--libs/kernel/acl/src/neon/FullyConnected.test.cpp21
-rw-r--r--libs/kernel/acl/src/neon/Pooling.cpp128
-rw-r--r--libs/kernel/acl/src/neon/Pooling.test.cpp436
-rw-r--r--libs/kernel/acl/src/neon/Reshape.cpp48
-rw-r--r--libs/kernel/acl/src/neon/Reshape.test.cpp20
-rw-r--r--libs/kernel/acl/src/neon/Softmax.cpp77
-rw-r--r--libs/kernel/acl/src/neon/Softmax.test.cpp105
-rw-r--r--libs/kernel/acl/src/shape.cpp89
-rw-r--r--libs/kernel/acl/src/shape.h93
-rw-r--r--libs/kernel/acl/src/support.cpp51
-rw-r--r--libs/kernel/acl/src/support.h93
-rw-r--r--libs/kernel/acl/src/util.cpp108
-rw-r--r--libs/kernel/acl/src/util.h193
-rw-r--r--libs/support/nnapi/CMakeLists.txt2
-rw-r--r--libs/support/nnapi/src/Utils.cpp29
-rw-r--r--libs/support/tflite/CMakeLists.txt6
-rw-r--r--libs/support/tflite/src/Diff.cpp478
-rw-r--r--libs/support/tflite/src/FeatureView.cpp7
-rw-r--r--libs/support/tflite/src/Quantization.cpp22
-rw-r--r--libs/support/tflite/src/TensorShapeUtils.cpp51
-rw-r--r--libs/support/tflite/src/TensorView.cpp69
-rw-r--r--libs/support/tflite/src/TensorView.test.cpp19
-rw-r--r--libs/support/tflite/src/interp/FlatBufferBuilder.cpp2
-rw-r--r--libs/support/tflite/src/kernels/RSQRT.cpp83
-rw-r--r--libs/support/tflite/src/kernels/SquaredDifference.cpp115
-rw-r--r--libs/support/tflite/src/kernels/TensorFlowMax.cpp390
-rw-r--r--libs/support/tflite/src/kernels/register.cpp169
-rw-r--r--libs/support/tflite/src/nnapi_delegate.cpp720
-rw-r--r--libs/support/tflite/src/nnapi_delegate_ex_AddOpsAndParams_lambda.inc41
-rw-r--r--libs/util/CMakeLists.txt10
-rw-r--r--libs/util/examples/tensor_index_iterator.cpp40
-rw-r--r--libs/util/include/util/benchmark.h66
-rw-r--r--libs/util/include/util/environment.h63
-rw-r--r--libs/util/include/util/feature/Index.h60
-rw-r--r--libs/util/include/util/feature/IndexIterator.h69
-rw-r--r--libs/util/include/util/feature/Object.h79
-rw-r--r--libs/util/include/util/feature/Reader.h40
-rw-r--r--libs/util/include/util/feature/Shape.h47
-rw-r--r--libs/util/include/util/feature/TextFormatter.h84
-rw-r--r--libs/util/include/util/kernel/IndexIterator.h72
-rw-r--r--libs/util/include/util/kernel/RandomObject.h71
-rw-r--r--libs/util/include/util/tensor/Index.h62
-rw-r--r--libs/util/include/util/tensor/IndexIterator.h104
-rw-r--r--libs/util/include/util/tensor/Object.h77
-rw-r--r--libs/util/include/util/tensor/Shape.h63
-rw-r--r--libs/util/include/util/tensor/Zipper.h72
-rw-r--r--libs/util/include/util/vector.h41
-rw-r--r--libs/util/include/util/vector/Object.h63
-rw-r--r--libs/util/src/environment.cpp32
-rw-r--r--libs/util/src/profiling/time.cc49
-rw-r--r--libs/util/src/tensor/Comparator.cpp40
-rw-r--r--libs/util/src/tensor/Shape.cpp55
-rw-r--r--packaging/nnfw.spec25
-rw-r--r--runtimes/CMakeLists.txt22
-rw-r--r--runtimes/logging/CMakeLists.txt5
-rw-r--r--runtimes/logging/include/operand.def12
-rw-r--r--runtimes/logging/include/operation.def15
-rw-r--r--runtimes/logging/src/nnapi_logging.cc404
-rw-r--r--runtimes/neurun/.FORMATCHECKED0
-rw-r--r--runtimes/neurun/CMakeLists.txt63
-rw-r--r--runtimes/neurun/src/backend/BackendManager.cc88
-rw-r--r--runtimes/neurun/src/backend/BackendManager.h73
-rw-r--r--runtimes/neurun/src/backend/CMakeLists.txt2
-rw-r--r--runtimes/neurun/src/backend/IBackendConfig.h39
-rw-r--r--runtimes/neurun/src/backend/IInitializerGenerator.h46
-rw-r--r--runtimes/neurun/src/backend/IObject.h42
-rw-r--r--runtimes/neurun/src/backend/IStageGenerator.h68
-rw-r--r--runtimes/neurun/src/backend/ITensorBuilder.h57
-rw-r--r--runtimes/neurun/src/backend/acl_cl/BackendConfig.cc32
-rw-r--r--runtimes/neurun/src/backend/acl_cl/BackendConfig.h45
-rw-r--r--runtimes/neurun/src/backend/acl_cl/CMakeLists.txt17
-rw-r--r--runtimes/neurun/src/backend/acl_cl/InitializerGenerator.cc144
-rw-r--r--runtimes/neurun/src/backend/acl_cl/InitializerGenerator.h50
-rw-r--r--runtimes/neurun/src/backend/acl_cl/StageGenerator.cc538
-rw-r--r--runtimes/neurun/src/backend/acl_cl/StageGenerator.h58
-rw-r--r--runtimes/neurun/src/backend/acl_cl/TensorBuilder.cc79
-rw-r--r--runtimes/neurun/src/backend/acl_cl/TensorBuilder.h57
-rw-r--r--runtimes/neurun/src/backend/acl_cl/feature/View.h110
-rw-r--r--runtimes/neurun/src/backend/acl_cl/kernel/View.h87
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/Object.cc42
-rw-r--r--runtimes/neurun/src/backend/acl_cl/operand/Object.h60
-rw-r--r--runtimes/neurun/src/backend/cpu/BackendConfig.cc33
-rw-r--r--runtimes/neurun/src/backend/cpu/BackendConfig.h45
-rw-r--r--runtimes/neurun/src/backend/cpu/CMakeLists.txt19
-rw-r--r--runtimes/neurun/src/backend/cpu/InitializerGenerator.cc208
-rw-r--r--runtimes/neurun/src/backend/cpu/InitializerGenerator.h50
-rw-r--r--runtimes/neurun/src/backend/cpu/MemoryAllocator.cc17
-rw-r--r--runtimes/neurun/src/backend/cpu/MemoryAllocator.h123
-rw-r--r--runtimes/neurun/src/backend/cpu/StageGenerator.cc536
-rw-r--r--runtimes/neurun/src/backend/cpu/StageGenerator.h59
-rw-r--r--runtimes/neurun/src/backend/cpu/TensorBuilder.cc73
-rw-r--r--runtimes/neurun/src/backend/cpu/TensorBuilder.h57
-rw-r--r--runtimes/neurun/src/backend/cpu/operand/Object.cc36
-rw-r--r--runtimes/neurun/src/backend/cpu/operand/Object.h60
-rw-r--r--runtimes/neurun/src/backend/cpu/operand/Tensor.cc33
-rw-r--r--runtimes/neurun/src/backend/cpu/operand/Tensor.h72
-rw-r--r--runtimes/neurun/src/codegen/BackendResolver.cc27
-rw-r--r--runtimes/neurun/src/codegen/BackendResolver.h82
-rw-r--r--runtimes/neurun/src/codegen/IPlanBuilder.h43
-rw-r--r--runtimes/neurun/src/codegen/Plan.cc27
-rw-r--r--runtimes/neurun/src/codegen/Plan.h58
-rw-r--r--runtimes/neurun/src/codegen/PlanBuilder.cc75
-rw-r--r--runtimes/neurun/src/codegen/PlanBuilder.h86
-rw-r--r--runtimes/neurun/src/codegen/Planner.cc253
-rw-r--r--runtimes/neurun/src/codegen/Planner.h67
-rw-r--r--runtimes/neurun/src/codegen/operand/Context.cc35
-rw-r--r--runtimes/neurun/src/codegen/operand/Context.h64
-rw-r--r--runtimes/neurun/src/codegen/operation/Sequence.cc30
-rw-r--r--runtimes/neurun/src/codegen/operation/Sequence.h55
-rw-r--r--runtimes/neurun/src/exec/Sink.h123
-rw-r--r--runtimes/neurun/src/exec/Source.h126
-rw-r--r--runtimes/neurun/src/frontend/compilation.cc73
-rw-r--r--runtimes/neurun/src/frontend/event.cc31
-rw-r--r--runtimes/neurun/src/frontend/execution.cc235
-rw-r--r--runtimes/neurun/src/frontend/memory.cc45
-rw-r--r--runtimes/neurun/src/frontend/model.cc434
-rw-r--r--runtimes/neurun/src/frontend/wrapper/compilation.cc66
-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.cc40
-rw-r--r--runtimes/neurun/src/frontend/wrapper/model.h41
-rw-r--r--runtimes/neurun/src/graph/Graph.cc315
-rw-r--r--runtimes/neurun/src/graph/Graph.h129
-rw-r--r--runtimes/neurun/src/graph/Index.h75
-rw-r--r--runtimes/neurun/src/graph/dumper/Dumper.cc118
-rw-r--r--runtimes/neurun/src/graph/dumper/Dumper.h50
-rw-r--r--runtimes/neurun/src/graph/operand/Data.h78
-rw-r--r--runtimes/neurun/src/graph/operand/DataType.h43
-rw-r--r--runtimes/neurun/src/graph/operand/Index.h51
-rw-r--r--runtimes/neurun/src/graph/operand/IndexSet.cc56
-rw-r--r--runtimes/neurun/src/graph/operand/IndexSet.h61
-rw-r--r--runtimes/neurun/src/graph/operand/Layout.h54
-rw-r--r--runtimes/neurun/src/graph/operand/LayoutSet.cc69
-rw-r--r--runtimes/neurun/src/graph/operand/LayoutSet.h61
-rw-r--r--runtimes/neurun/src/graph/operand/LowerInfo.cc30
-rw-r--r--runtimes/neurun/src/graph/operand/LowerInfo.h80
-rw-r--r--runtimes/neurun/src/graph/operand/Object.cc117
-rw-r--r--runtimes/neurun/src/graph/operand/Object.h116
-rw-r--r--runtimes/neurun/src/graph/operand/Set.cc68
-rw-r--r--runtimes/neurun/src/graph/operand/Set.h60
-rw-r--r--runtimes/neurun/src/graph/operand/Shape.cc73
-rw-r--r--runtimes/neurun/src/graph/operand/Shape.h59
-rw-r--r--runtimes/neurun/src/graph/operand/Shape4DConvert.h57
-rw-r--r--runtimes/neurun/src/graph/operand/TypeInfo.cc35
-rw-r--r--runtimes/neurun/src/graph/operand/TypeInfo.h62
-rw-r--r--runtimes/neurun/src/graph/operation/AvgPool2D.cc82
-rw-r--r--runtimes/neurun/src/graph/operation/AvgPool2D.h72
-rw-r--r--runtimes/neurun/src/graph/operation/Concat.cc69
-rw-r--r--runtimes/neurun/src/graph/operation/Concat.h61
-rw-r--r--runtimes/neurun/src/graph/operation/Conv2D.cc79
-rw-r--r--runtimes/neurun/src/graph/operation/Conv2D.h69
-rw-r--r--runtimes/neurun/src/graph/operation/FullyConnected.cc69
-rw-r--r--runtimes/neurun/src/graph/operation/FullyConnected.h62
-rw-r--r--runtimes/neurun/src/graph/operation/Index.h35
-rw-r--r--runtimes/neurun/src/graph/operation/IndexList.cc40
-rw-r--r--runtimes/neurun/src/graph/operation/IndexList.h55
-rw-r--r--runtimes/neurun/src/graph/operation/LowerInfo.cc33
-rw-r--r--runtimes/neurun/src/graph/operation/LowerInfo.h45
-rw-r--r--runtimes/neurun/src/graph/operation/MaxPool2D.cc82
-rw-r--r--runtimes/neurun/src/graph/operation/MaxPool2D.h72
-rw-r--r--runtimes/neurun/src/graph/operation/NOP.cc36
-rw-r--r--runtimes/neurun/src/graph/operation/NOP.h47
-rw-r--r--runtimes/neurun/src/graph/operation/Node.cc41
-rw-r--r--runtimes/neurun/src/graph/operation/Node.h73
-rw-r--r--runtimes/neurun/src/graph/operation/NodeVisitor.h56
-rw-r--r--runtimes/neurun/src/graph/operation/Op.lst30
-rw-r--r--runtimes/neurun/src/graph/operation/Permute.cc41
-rw-r--r--runtimes/neurun/src/graph/operation/Permute.h33
-rw-r--r--runtimes/neurun/src/graph/operation/Reshape.cc67
-rw-r--r--runtimes/neurun/src/graph/operation/Reshape.h51
-rw-r--r--runtimes/neurun/src/graph/operation/Set.cc67
-rw-r--r--runtimes/neurun/src/graph/operation/Set.h62
-rw-r--r--runtimes/neurun/src/graph/operation/Softmax.cc67
-rw-r--r--runtimes/neurun/src/graph/operation/Softmax.h62
-rw-r--r--runtimes/neurun/src/graph/verifier/IVerifier.cc72
-rw-r--r--runtimes/neurun/src/graph/verifier/IVerifier.h62
-rw-r--r--runtimes/neurun/src/internal/Convert.cc59
-rw-r--r--runtimes/neurun/src/internal/Convert.h40
-rw-r--r--runtimes/neurun/src/internal/Padding.cc72
-rw-r--r--runtimes/neurun/src/internal/Padding.h48
-rw-r--r--runtimes/neurun/src/internal/nnapi/feature/Reader.h75
-rw-r--r--runtimes/neurun/src/internal/nnapi/feature/Utils.h60
-rw-r--r--runtimes/neurun/src/internal/nnapi/feature/View.h92
-rw-r--r--runtimes/neurun/src/internal/nnapi/kernel/Reader.h70
-rw-r--r--runtimes/neurun/src/internal/nnapi/kernel/View.h88
-rw-r--r--runtimes/neurun/src/kernel/CMakeLists.txt2
-rw-r--r--runtimes/neurun/src/kernel/acl_cl/CMakeLists.txt15
-rw-r--r--runtimes/neurun/src/kernel/acl_cl/ConcatLayer.cc158
-rw-r--r--runtimes/neurun/src/kernel/acl_cl/ConcatLayer.h67
-rw-r--r--runtimes/neurun/src/kernel/acl_cl/TensorConvertFromCommonLayer.cc94
-rw-r--r--runtimes/neurun/src/kernel/acl_cl/TensorConvertFromCommonLayer.h67
-rw-r--r--runtimes/neurun/src/kernel/acl_cl/TensorConvertToCommonLayer.cc94
-rw-r--r--runtimes/neurun/src/kernel/acl_cl/TensorConvertToCommonLayer.h67
-rw-r--r--runtimes/neurun/src/kernel/cpu/AvgPoolLayer.cc118
-rw-r--r--runtimes/neurun/src/kernel/cpu/AvgPoolLayer.h78
-rw-r--r--runtimes/neurun/src/kernel/cpu/CMakeLists.txt14
-rw-r--r--runtimes/neurun/src/kernel/cpu/ConcatLayer.cc109
-rw-r--r--runtimes/neurun/src/kernel/cpu/ConcatLayer.h66
-rw-r--r--runtimes/neurun/src/kernel/cpu/ConvolutionLayer.cc202
-rw-r--r--runtimes/neurun/src/kernel/cpu/ConvolutionLayer.h79
-rw-r--r--runtimes/neurun/src/kernel/cpu/FullyConnectedLayer.cc139
-rw-r--r--runtimes/neurun/src/kernel/cpu/FullyConnectedLayer.h69
-rw-r--r--runtimes/neurun/src/kernel/cpu/MaxPoolLayer.cc118
-rw-r--r--runtimes/neurun/src/kernel/cpu/MaxPoolLayer.h78
-rw-r--r--runtimes/neurun/src/kernel/cpu/OperationUtils.cc230
-rw-r--r--runtimes/neurun/src/kernel/cpu/OperationUtils.h103
-rw-r--r--runtimes/neurun/src/kernel/cpu/ReshapeLayer.cc57
-rw-r--r--runtimes/neurun/src/kernel/cpu/ReshapeLayer.h58
-rw-r--r--runtimes/neurun/src/kernel/cpu/SoftMaxLayer.cc128
-rw-r--r--runtimes/neurun/src/kernel/cpu/SoftMaxLayer.h64
-rw-r--r--runtimes/neurun/src/kernel/cpu/TensorConvertFromCommonLayer.cc90
-rw-r--r--runtimes/neurun/src/kernel/cpu/TensorConvertFromCommonLayer.h67
-rw-r--r--runtimes/neurun/src/kernel/cpu/TensorConvertToCommonLayer.cc90
-rw-r--r--runtimes/neurun/src/kernel/cpu/TensorConvertToCommonLayer.h67
-rw-r--r--runtimes/neurun/src/library_info.cc17
-rw-r--r--runtimes/neurun/src/linear/Linear.cc73
-rw-r--r--runtimes/neurun/src/linear/Linear.h71
-rw-r--r--runtimes/neurun/src/logging.h53
-rw-r--r--runtimes/neurun/test/graph/Graph.cc52
-rw-r--r--runtimes/neurun/test/graph/Index.cc34
-rw-r--r--runtimes/neurun/test/graph/operand/IndexSet.cc43
-rw-r--r--runtimes/neurun/test/graph/operand/LayoutSet.cc27
-rw-r--r--runtimes/neurun/test/graph/operand/Set.cc48
-rw-r--r--runtimes/neurun/test/graph/operand/UseDef.cc173
-rw-r--r--runtimes/neurun/test/graph/operation/Insert.cc166
-rw-r--r--runtimes/neurun/test/graph/operation/MockNode.h48
-rw-r--r--runtimes/neurun/test/graph/operation/Set.cc34
-rw-r--r--runtimes/neurun/test/graph/operation/SetIO.cc86
-rw-r--r--runtimes/neurun/test/graph/verifier/Verifier.cc64
-rw-r--r--runtimes/neurun/test/model.cc25
-rw-r--r--runtimes/nn/CMakeLists.txt27
-rw-r--r--runtimes/nn/README.md54
-rw-r--r--runtimes/nn/common/CMakeLists.txt31
-rw-r--r--runtimes/nn/common/CpuExecutor.cpp1324
-rw-r--r--runtimes/nn/common/Logging.cpp51
-rw-r--r--runtimes/nn/common/NNFWKernels.cpp72
-rw-r--r--runtimes/nn/common/NNFWKernels.h41
-rw-r--r--runtimes/nn/common/NNFWKernels.lst80
-rw-r--r--runtimes/nn/common/OperationsUtils.cpp565
-rw-r--r--runtimes/nn/common/Utils.cpp397
-rw-r--r--runtimes/nn/common/include/ActivationFunctor.h70
-rw-r--r--runtimes/nn/common/include/CpuExecutor.h165
-rw-r--r--runtimes/nn/common/include/HalInterfaces.h82
-rw-r--r--runtimes/nn/common/include/Logging.h61
-rw-r--r--runtimes/nn/common/include/Operations.h203
-rw-r--r--runtimes/nn/common/include/OperationsUtils.h247
-rw-r--r--runtimes/nn/common/include/Utils.h128
-rw-r--r--runtimes/nn/common/operations/Activation.cpp211
-rw-r--r--runtimes/nn/common/operations/Concatenation.cpp64
-rw-r--r--runtimes/nn/common/operations/Conv2D.cpp154
-rw-r--r--runtimes/nn/common/operations/DepthwiseConv2D.cpp119
-rw-r--r--runtimes/nn/common/operations/FullyConnected.cpp87
-rw-r--r--runtimes/nn/common/operations/Pooling.cpp163
-rw-r--r--runtimes/nn/common/operations/Reshape.cpp103
-rw-r--r--runtimes/nn/common/operations/SimpleMath.cpp217
-rw-r--r--runtimes/nn/common/operations/internal/common.h80
-rw-r--r--runtimes/nn/common/operations/internal/compatibility.h57
-rw-r--r--runtimes/nn/common/operations/internal/optimized/cpu_check.h28
-rw-r--r--runtimes/nn/common/operations/internal/optimized/depthwiseconv_float.h792
-rw-r--r--runtimes/nn/common/operations/internal/optimized/depthwiseconv_uint8.h1606
-rw-r--r--runtimes/nn/common/operations/internal/optimized/neon_tensor_utils.cc217
-rw-r--r--runtimes/nn/common/operations/internal/optimized/neon_tensor_utils.h119
-rw-r--r--runtimes/nn/common/operations/internal/optimized/optimized_ops.h2717
-rw-r--r--runtimes/nn/common/operations/internal/optimized/tensor_utils_impl.h133
-rw-r--r--runtimes/nn/common/operations/internal/tensor_utils.cc29
-rw-r--r--runtimes/nn/common/operations/internal/tensor_utils.h123
-rw-r--r--runtimes/nn/common/operations/internal/tensor_utils_test.cc198
-rw-r--r--runtimes/nn/common/operations/internal/types.h112
-rw-r--r--runtimes/nn/depend/CMakeLists.txt21
-rw-r--r--runtimes/nn/depend/external/CMakeLists.txt13
-rw-r--r--runtimes/nn/depend/external/eigen/CMakeLists.txt10
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/CMakeLists.txt19
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/Cholesky41
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/CholmodSupport48
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/Core516
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/Dense7
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/Eigen2
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/Eigenvalues57
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/Geometry62
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/Householder30
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/IterativeLinearSolvers48
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/Jacobi33
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/LU46
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/MetisSupport35
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/OrderingMethods73
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/PaStiXSupport48
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/PardisoSupport35
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/QR47
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/QtAlignedMalloc40
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/SPQRSupport34
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/SVD47
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/Sparse36
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/SparseCholesky45
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/SparseCore69
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/SparseLU46
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/SparseQR37
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/StdDeque27
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/StdList26
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/StdVector27
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/SuperLUSupport64
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/UmfPackSupport40
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Cholesky/LDLT.h669
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Cholesky/LLT.h534
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Cholesky/LLT_LAPACKE.h99
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/CholmodSupport/CholmodSupport.h639
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Array.h331
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/ArrayBase.h226
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/ArrayWrapper.h209
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Assign.h90
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/AssignEvaluator.h935
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/Core/Assign_MKL.h176
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/BandMatrix.h353
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Block.h452
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/BooleanRedux.h164
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/CommaInitializer.h160
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/ConditionEstimator.h175
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/CoreEvaluators.h1671
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/CoreIterators.h127
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/CwiseBinaryOp.h184
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/CwiseNullaryOp.h866
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/CwiseTernaryOp.h197
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/CwiseUnaryOp.h103
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/CwiseUnaryView.h128
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/DenseBase.h611
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/DenseCoeffsBase.h681
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/DenseStorage.h570
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Diagonal.h257
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/DiagonalMatrix.h343
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/DiagonalProduct.h28
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Dot.h315
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/EigenBase.h159
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/ForceAlignedAccess.h146
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Fuzzy.h155
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/GeneralProduct.h454
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/GenericPacketMath.h593
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/GlobalFunctions.h187
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/IO.h225
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Inverse.h118
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Map.h164
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/MapBase.h299
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/MathFunctions.h1431
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/MathFunctionsImpl.h78
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Matrix.h461
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/MatrixBase.h530
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/NestByValue.h110
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/NoAlias.h108
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/NumTraits.h248
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/PermutationMatrix.h633
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/PlainObjectBase.h1031
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Product.h186
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/ProductEvaluators.h1105
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Random.h182
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Redux.h505
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Ref.h281
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Replicate.h142
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/ReturnByValue.h117
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Reverse.h211
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Select.h162
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/SelfAdjointView.h350
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/SelfCwiseBinaryOp.h51
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Solve.h188
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/SolveTriangular.h232
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/SolverBase.h130
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/StableNorm.h221
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Stride.h111
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Swap.h67
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Transpose.h403
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Transpositions.h407
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/TriangularMatrix.h983
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/VectorBlock.h96
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/VectorwiseOp.h695
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/Visitor.h273
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/AVX/Complex.h483
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/AVX/MathFunctions.h439
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/AVX/PacketMath.h633
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/AVX/TypeCasting.h51
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/AVX512/MathFunctions.h396
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/AVX512/PacketMath.h1316
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/AltiVec/Complex.h461
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/AltiVec/MathFunctions.h322
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h1033
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/CUDA/Complex.h103
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/CUDA/Half.h635
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/CUDA/MathFunctions.h91
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/CUDA/PacketMath.h333
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/CUDA/PacketMathHalf.h1123
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/CUDA/TypeCasting.h212
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/Default/Settings.h49
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/NEON/Complex.h486
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/NEON/MathFunctions.h91
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/NEON/PacketMath.h729
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/SSE/Complex.h503
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/SSE/MathFunctions.h562
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/Core/arch/SSE/PacketMath.h879
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/SSE/TypeCasting.h77
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/ZVector/Complex.h394
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/arch/ZVector/MathFunctions.h137
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/Core/arch/ZVector/PacketMath.h945
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/functors/AssignmentFunctors.h168
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/functors/BinaryFunctors.h482
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/functors/NullaryFunctors.h188
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/functors/StlFunctors.h132
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/functors/TernaryFunctors.h25
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/functors/UnaryFunctors.h823
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h2149
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/GeneralMatrixMatrix.h492
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h311
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h141
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h115
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/GeneralMatrixVector.h619
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h129
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/Parallelizer.h163
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/SelfadjointMatrixMatrix.h521
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h275
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/SelfadjointMatrixVector.h260
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h111
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/SelfadjointProduct.h133
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/SelfadjointRank2Update.h93
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/TriangularMatrixMatrix.h441
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h302
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/TriangularMatrixVector.h336
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h241
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/TriangularSolverMatrix.h335
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h151
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/products/TriangularSolverVector.h145
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/Core/util/BlasUtil.h398
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/util/Constants.h547
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/Core/util/DisableStupidWarnings.h75
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/util/ForwardDeclarations.h302
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/Core/util/MKL_support.h128
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/util/Macros.h992
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/util/Memory.h977
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/Core/util/Meta.h492
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/util/NonMPL2.h3
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/util/ReenableStupidWarnings.h27
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/util/StaticAssert.h216
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Core/util/XprHelper.h821
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/ComplexEigenSolver.h346
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/ComplexSchur.h459
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h91
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/EigenSolver.h622
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h419
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h226
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/HessenbergDecomposition.h374
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h160
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/RealQZ.h654
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/RealSchur.h546
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h77
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h870
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h90
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Eigenvalues/Tridiagonalization.h556
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/AlignedBox.h392
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/AngleAxis.h247
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/EulerAngles.h114
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/Homogeneous.h497
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/Hyperplane.h282
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/OrthoMethods.h234
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/ParametrizedLine.h195
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/Quaternion.h809
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/Rotation2D.h199
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/RotationBase.h206
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/Geometry/Scaling.h170
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/Transform.h1542
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/Translation.h208
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/Umeyama.h166
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Geometry/arch/Geometry_SSE.h161
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Householder/BlockHouseholder.h103
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Householder/Householder.h172
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Householder/HouseholderSequence.h470
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h226
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h228
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h245
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h400
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h462
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h394
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h216
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h115
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/Jacobi/Jacobi.h441
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/LU/Determinant.h101
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/LU/FullPivLU.h891
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/LU/InverseImpl.h415
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/LU/PartialPivLU.h611
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/LU/PartialPivLU_LAPACKE.h83
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/LU/arch/Inverse_SSE.h338
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/MetisSupport/MetisSupport.h137
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/OrderingMethods/Eigen_Colamd.h1843
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/OrderingMethods/Ordering.h157
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/PaStiXSupport/PaStiXSupport.h678
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/PardisoSupport/PardisoSupport.h543
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/QR/ColPivHouseholderQR.h653
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h97
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/QR/CompleteOrthogonalDecomposition.h562
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/QR/FullPivHouseholderQR.h676
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/QR/HouseholderQR.h409
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/QR/HouseholderQR_LAPACKE.h68
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h313
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SVD/BDCSVD.h1231
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SVD/JacobiSVD.h804
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SVD/JacobiSVD_LAPACKE.h90
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SVD/SVDBase.h313
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SVD/UpperBidiagonalization.h414
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCholesky/SimplicialCholesky.h689
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/AmbiVector.h377
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/CompressedStorage.h258
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h345
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/MappedSparseMatrix.h67
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseAssign.h216
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseBlock.h603
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseColEtree.h206
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseCompressedBase.h341
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseCwiseBinaryOp.h726
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseCwiseUnaryOp.h148
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseDenseProduct.h320
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseDiagonalProduct.h138
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseDot.h98
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseFuzzy.h29
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseMap.h305
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseMatrix.h1403
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseMatrixBase.h405
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparsePermutation.h178
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseProduct.h169
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseRedux.h49
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseRef.h397
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseSelfAdjointView.h656
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseSolverBase.h124
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseSparseProductWithPruning.h198
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseTranspose.h92
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseTriangularView.h189
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseUtil.h178
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseVector.h478
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/SparseView.h253
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseCore/TriangularSolver.h315
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU.h775
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLUImpl.h66
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_Memory.h226
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_Structs.h110
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h301
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_Utils.h80
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_column_bmod.h181
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_column_dfs.h179
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h107
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_gemm_kernel.h280
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h126
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_kernel_bmod.h130
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_panel_bmod.h223
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_panel_dfs.h258
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_pivotL.h137
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_pruneL.h136
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseLU/SparseLU_relax_snode.h83
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SparseQR/SparseQR.h739
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/StlSupport/StdDeque.h126
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/StlSupport/StdList.h106
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/StlSupport/StdVector.h131
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/StlSupport/details.h84
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/SuperLUSupport/SuperLUSupport.h1027
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/UmfPackSupport/UmfPackSupport.h506
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/misc/Image.h82
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/misc/Kernel.h79
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/misc/RealSvd2x2.h55
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/misc/blas.h440
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/misc/lapack.h152
-rwxr-xr-xruntimes/nn/depend/external/eigen/Eigen/src/misc/lapacke.h16291
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/misc/lapacke_mangling.h17
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/plugins/ArrayCwiseBinaryOps.h332
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/plugins/ArrayCwiseUnaryOps.h552
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/plugins/BlockMethods.h1058
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/plugins/CommonCwiseBinaryOps.h115
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/plugins/CommonCwiseUnaryOps.h163
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/plugins/MatrixCwiseBinaryOps.h152
-rw-r--r--runtimes/nn/depend/external/eigen/Eigen/src/plugins/MatrixCwiseUnaryOps.h85
-rw-r--r--runtimes/nn/depend/external/gemmlowp/CMakeLists.txt11
-rw-r--r--runtimes/nn/depend/external/gemmlowp/fixedpoint/fixedpoint.h779
-rw-r--r--runtimes/nn/depend/external/gemmlowp/fixedpoint/fixedpoint_neon.h175
-rw-r--r--runtimes/nn/depend/external/gemmlowp/fixedpoint/fixedpoint_sse.h218
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/allocator.h220
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/block_params.h174
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/common.h256
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/compute.h104
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/dispatch_gemm_shape.h189
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/kernel.h234
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/kernel_default.h109
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/kernel_neon.h1619
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/kernel_reference.h118
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/kernel_sse.h517
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/multi_thread_gemm.h701
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/output.h435
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/output_neon.h432
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/output_sse.h354
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/pack.h435
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/pack_neon.h320
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/pack_sse.h128
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/simd_wrappers.h508
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/simd_wrappers_common_neon_sse.h646
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/simd_wrappers_neon.h150
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/simd_wrappers_sse.h123
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/single_thread_gemm.h158
-rw-r--r--runtimes/nn/depend/external/gemmlowp/internal/unpack.h278
-rw-r--r--runtimes/nn/depend/external/gemmlowp/profiling/instrumentation.h244
-rw-r--r--runtimes/nn/depend/external/gemmlowp/profiling/profiler.h373
-rw-r--r--runtimes/nn/depend/external/gemmlowp/public/bit_depth.h62
-rw-r--r--runtimes/nn/depend/external/gemmlowp/public/gemmlowp.h87
-rw-r--r--runtimes/nn/depend/external/gemmlowp/public/map.h140
-rw-r--r--runtimes/nn/depend/external/gemmlowp/public/output_stages.h185
-rw-r--r--runtimes/nn/depend/hal/CMakeLists.txt10
-rw-r--r--runtimes/nn/depend/hal/include/android/hardware/neuralnetworks/1.0/types.h493
-rw-r--r--runtimes/nn/depend/libcutils/CMakeLists.txt22
-rw-r--r--runtimes/nn/depend/libcutils/ashmem-host.c97
-rw-r--r--runtimes/nn/depend/libcutils/include/cutils/ashmem.h34
-rw-r--r--runtimes/nn/depend/libcutils/include/cutils/native_handle.h102
-rw-r--r--runtimes/nn/depend/libcutils/native_handle.c95
-rw-r--r--runtimes/nn/depend/libhidl/CMakeLists.txt11
-rw-r--r--runtimes/nn/depend/libhidl/base/CMakeLists.txt22
-rw-r--r--runtimes/nn/depend/libhidl/base/HidlSupport.cpp283
-rw-r--r--runtimes/nn/depend/libhidl/base/Status.cpp166
-rw-r--r--runtimes/nn/depend/libhidl/base/include/hidl/HidlInternal.h193
-rw-r--r--runtimes/nn/depend/libhidl/base/include/hidl/HidlSupport.h989
-rw-r--r--runtimes/nn/depend/libhidl/base/include/hidl/Status.h273
-rw-r--r--runtimes/nn/depend/libutils/CMakeLists.txt22
-rw-r--r--runtimes/nn/depend/libutils/RefBase.cpp809
-rw-r--r--runtimes/nn/depend/libutils/StrongPointer.cpp29
-rw-r--r--runtimes/nn/depend/libutils/include/utils/Compat.h87
-rw-r--r--runtimes/nn/depend/libutils/include/utils/Errors.h88
-rw-r--r--runtimes/nn/depend/libutils/include/utils/LightRefBase.h72
-rw-r--r--runtimes/nn/depend/libutils/include/utils/RefBase.h690
-rw-r--r--runtimes/nn/depend/libutils/include/utils/StrongPointer.h245
-rw-r--r--runtimes/nn/depend/libutils/include/utils/TypeHelpers.h336
-rw-r--r--runtimes/nn/runtime/CMakeLists.txt29
-rw-r--r--runtimes/nn/runtime/Callbacks.cpp115
-rw-r--r--runtimes/nn/runtime/Callbacks.h249
-rw-r--r--runtimes/nn/runtime/CompilationBuilder.cpp68
-rw-r--r--runtimes/nn/runtime/CompilationBuilder.h55
-rw-r--r--runtimes/nn/runtime/ExecutionBuilder.cpp293
-rw-r--r--runtimes/nn/runtime/ExecutionBuilder.h147
-rw-r--r--runtimes/nn/runtime/Memory.cpp199
-rw-r--r--runtimes/nn/runtime/Memory.h122
-rw-r--r--runtimes/nn/runtime/ModelBuilder.cpp386
-rw-r--r--runtimes/nn/runtime/ModelBuilder.h129
-rw-r--r--runtimes/nn/runtime/NeuralNetworks.cpp489
-rw-r--r--runtimes/pure_arm_compute/.FORMATCHECKED0
-rw-r--r--runtimes/pure_arm_compute/CMakeLists.txt31
-rw-r--r--runtimes/pure_arm_compute/src/compilation.cc4442
-rw-r--r--runtimes/pure_arm_compute/src/compilation.h45
-rw-r--r--runtimes/pure_arm_compute/src/event.cc31
-rw-r--r--runtimes/pure_arm_compute/src/event.h24
-rw-r--r--runtimes/pure_arm_compute/src/execution.cc581
-rw-r--r--runtimes/pure_arm_compute/src/execution.h67
-rw-r--r--runtimes/pure_arm_compute/src/internal/FeatureSink.h60
-rw-r--r--runtimes/pure_arm_compute/src/internal/FeatureSource.h54
-rw-r--r--runtimes/pure_arm_compute/src/internal/IExecutionBuilder.h32
-rw-r--r--runtimes/pure_arm_compute/src/internal/MatrixSink.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/MatrixSource.h63
-rw-r--r--runtimes/pure_arm_compute/src/internal/Model.cc125
-rw-r--r--runtimes/pure_arm_compute/src/internal/Model.h319
-rw-r--r--runtimes/pure_arm_compute/src/internal/Sink.h29
-rw-r--r--runtimes/pure_arm_compute/src/internal/Sinks.h74
-rw-r--r--runtimes/pure_arm_compute/src/internal/Source.h29
-rw-r--r--runtimes/pure_arm_compute/src/internal/Swizzle.h84
-rw-r--r--runtimes/pure_arm_compute/src/internal/Tensor3DSink.h70
-rw-r--r--runtimes/pure_arm_compute/src/internal/Tensor3DSource.h70
-rw-r--r--runtimes/pure_arm_compute/src/internal/TensorSource.h63
-rw-r--r--runtimes/pure_arm_compute/src/internal/VectorSink.h54
-rw-r--r--runtimes/pure_arm_compute/src/internal/VectorSource.h47
-rw-r--r--runtimes/pure_arm_compute/src/internal/arm_compute.cc87
-rw-r--r--runtimes/pure_arm_compute/src/internal/arm_compute.h216
-rw-r--r--runtimes/pure_arm_compute/src/internal/arm_compute/Cast.h150
-rw-r--r--runtimes/pure_arm_compute/src/internal/arm_compute/feature/View.h99
-rw-r--r--runtimes/pure_arm_compute/src/internal/arm_compute/kernel/View.h74
-rw-r--r--runtimes/pure_arm_compute/src/internal/arm_compute/matrix/View.h74
-rw-r--r--runtimes/pure_arm_compute/src/internal/arm_compute/tensor/View.h85
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/FeatureLoggingLayer.h88
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/GenericFullyConnectedLayer.cc90
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/GenericFullyConnectedLayer.h53
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/GenericReshapeLayer.cc66
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/GenericReshapeLayer.h50
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/PadLayer.cc78
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/PadLayer.h41
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/SimpleArithmeticAddition.h108
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/SimpleCastLayer.h95
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/SimpleEmbeddingLookup.cc115
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/SimpleEmbeddingLookup.h22
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/SimpleSpaceToDepth.cc155
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/SimpleSpaceToDepth.h45
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/SquaredDifferenceOperation.cc40
-rw-r--r--runtimes/pure_arm_compute/src/internal/layers/SquaredDifferenceOperation.h35
-rw-r--r--runtimes/pure_arm_compute/src/internal/nnapi/feature/Reader.h72
-rw-r--r--runtimes/pure_arm_compute/src/internal/nnapi/feature/Utils.h60
-rw-r--r--runtimes/pure_arm_compute/src/internal/nnapi/feature/View.h81
-rw-r--r--runtimes/pure_arm_compute/src/internal/nnapi/kernel/Reader.h68
-rw-r--r--runtimes/pure_arm_compute/src/internal/nnapi/matrix/Reader.h66
-rw-r--r--runtimes/pure_arm_compute/src/internal/nnapi/tensor/ConstView.h85
-rw-r--r--runtimes/pure_arm_compute/src/internal/nnapi/tensor/Reader.h90
-rw-r--r--runtimes/pure_arm_compute/src/internal/nnapi/tensor/View.h88
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Add.cc67
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Add.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/AvgPool2D.cc124
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/AvgPool2D.h130
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Cast.cc62
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Cast.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Concat.cc69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Concat.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Conv2D.cc126
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Conv2D.h128
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/DepthwiseConv2D.cc128
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/DepthwiseConv2D.h130
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Dequantize.cc62
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Dequantize.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Div.cc67
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Div.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/EmbeddingLookup.cc65
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/EmbeddingLookup.h70
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Floor.cc62
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Floor.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/FullyConnected.cc69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/FullyConnected.h72
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Gather.cc67
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Gather.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/HashtableLookup.cc52
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/HashtableLookup.h56
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/L2Normalization.cc44
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/L2Normalization.h53
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/L2Pool2D.cc124
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/L2Pool2D.h130
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Logistic.cc63
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Logistic.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Lstm.cc85
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Lstm.h94
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/MaxPool2D.cc124
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/MaxPool2D.h130
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Mean.cc67
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Mean.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Mul.cc67
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Mul.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Node.h40
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/NodeVisitor.h121
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Pad.cc63
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Pad.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/RSQRT.cc62
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/RSQRT.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ReLU.cc63
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ReLU.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ReLU1.cc63
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ReLU1.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ReLU6.cc63
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ReLU6.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ReduceMax.cc65
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ReduceMax.h70
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Reshape.cc66
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Reshape.h70
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ResizeBilinear.cc67
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/ResizeBilinear.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Rnn.cc66
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Rnn.h75
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Softmax.cc65
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Softmax.h70
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/SpaceToDepth.cc65
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/SpaceToDepth.h70
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Split.cc69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Split.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/SquaredDifference.cc50
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/SquaredDifference.h55
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Squeeze.cc66
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Squeeze.h70
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/StridedSlice.cc88
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/StridedSlice.h75
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Sub.cc67
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Sub.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Tanh.cc63
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Tanh.h69
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/TopKV2.cc70
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/TopKV2.h71
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Transpose.cc65
-rw-r--r--runtimes/pure_arm_compute/src/internal/op/Transpose.h70
-rw-r--r--runtimes/pure_arm_compute/src/library_info.cc17
-rw-r--r--runtimes/pure_arm_compute/src/logging.h53
-rw-r--r--runtimes/pure_arm_compute/src/memory.cc55
-rw-r--r--runtimes/pure_arm_compute/src/memory.h38
-rw-r--r--runtimes/pure_arm_compute/src/model.cc847
-rw-r--r--runtimes/pure_arm_compute/src/model.h40
-rw-r--r--runtimes/pure_arm_compute/symbolcheck.cpp64
-rw-r--r--runtimes/template/CMakeLists.txt5
-rw-r--r--runtimes/template/src/compilation.cc14
-rw-r--r--runtimes/template/src/compilation.h8
-rw-r--r--runtimes/template/src/event.cc13
-rw-r--r--runtimes/template/src/event.h8
-rw-r--r--runtimes/template/src/execution.cc33
-rw-r--r--runtimes/template/src/execution.h8
-rw-r--r--runtimes/template/src/memory.cc16
-rw-r--r--runtimes/template/src/memory.h8
-rw-r--r--runtimes/template/src/model.cc63
-rw-r--r--runtimes/template/src/model.h8
-rw-r--r--runtimes/tests/CMakeLists.txt1
-rw-r--r--runtimes/tests/bring_up_test/CMakeLists.txt22
-rw-r--r--runtimes/tests/bring_up_test/add_main.cpp117
-rw-r--r--runtimes/tests/bring_up_test/cplusplus_main.cpp16
-rw-r--r--runtimes/tests/bring_up_test/simple_model.cpp469
-rw-r--r--runtimes/tests/bring_up_test/simple_model.h63
-rw-r--r--runtimes/tests/bring_up_test/simple_model_main.cpp35
-rw-r--r--runtimes/tests/include/NeuralNetworksWrapper.h11
-rw-r--r--runtimes/tests/neural_networks_test/CMakeLists.txt26
-rw-r--r--runtimes/tests/neural_networks_test/TestValidation.cpp141
-rw-r--r--runtimes/tests/neural_networks_test/generated/all_generated_tests.cpp2101
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/batch_to_space.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/batch_to_space_float_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/batch_to_space_quant8_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/cast_ex_float32_to_int32.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/cast_ex_int32_to_float32.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/concat_float_4D_axis3_1_nnfw.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/depthwise_conv2d_float_large_2_weights_as_inputs.example.cpp2
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/div.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/div_.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/div_broadcast_float.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/embedding_lookup_2d_nnfw.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/embedding_lookup_4d_nnfw.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/floor_.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/fully_connected_float_1_nnfw.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/fully_connected_float_3.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/fully_connected_float_4d_simple.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/gather_1D_float.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/gather_1D_int32.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/gather_1D_quant8.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/gather_2D_float.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/gather_2D_int32.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/gather_2D_quant8.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/mean.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/mean_axis01_1_nnfw.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/mean_axis01_2_nnfw.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/mean_float_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/mean_float_2.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/mean_quant8_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/mean_quant8_2.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/mul_broadcast_3D_1D_1_nnfw.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/mul_broadcast_3D_1D_2_nnfw.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/pad.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/pad_float_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/space_to_batch.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/space_to_batch_float_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/space_to_batch_float_2.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/space_to_batch_float_3.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/space_to_batch_quant8_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/space_to_batch_quant8_2.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/space_to_batch_quant8_3.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/squeeze.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/squeeze_2D_float_1_nnfw.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/squeeze_float_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/squeeze_quant8_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_10.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_2.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_3.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_4.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_5.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_6.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_7.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_8.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_ex_float_9.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_10.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_11.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_2.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_3.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_4.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_5.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_6.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_7.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_8.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_float_9.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_qaunt8_10.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_qaunt8_11.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_quant8_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_quant8_2.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_quant8_3.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_quant8_4.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_quant8_5.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_quant8_6.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_quant8_7.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_quant8_8.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/strided_slice_quant8_9.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/sub.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/sub_broadcast_float.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/tanh_.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/tensorflowmax_ex_2D_float.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/tensorflowmax_ex_2D_int32.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/topk_v2_1D_float.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/topk_v2_1D_int32.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/topk_v2_1D_quant8.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/topk_v2_2D_float.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/topk_v2_2D_int32.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/topk_v2_2D_quant8.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/transpose.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/transpose_float_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/examples/transpose_quant8_1.example.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/batch_to_space.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/batch_to_space_float_1.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/batch_to_space_quant8_1.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/cast_ex_float32_to_int32.model.cpp20
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/cast_ex_int32_to_float32.model.cpp20
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/concat_float_4D_axis3_1_nnfw.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/depthwise_conv2d_float_large_2_weights_as_inputs.model.cpp23
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/div.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/div_.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/div_broadcast_float.model.cpp25
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/embedding_lookup_2d_nnfw.model.cpp21
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/embedding_lookup_4d_nnfw.model.cpp22
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/floor_.model.cpp19
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/fully_connected_float_1_nnfw.model.cpp32
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/fully_connected_float_3.model.cpp32
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/fully_connected_float_4d_simple.model.cpp32
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/gather_1D_float.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/gather_1D_int32.model.cpp25
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/gather_1D_quant8.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/gather_2D_float.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/gather_2D_int32.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/gather_2D_quant8.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/mean.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/mean_axis01_1_nnfw.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/mean_axis01_2_nnfw.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/mean_float_1.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/mean_float_2.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/mean_quant8_1.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/mean_quant8_2.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/mul_broadcast_3D_1D_1_nnfw.model.cpp25
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/mul_broadcast_3D_1D_2_nnfw.model.cpp25
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/pad.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/pad_float_1.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/space_to_batch.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/space_to_batch_float_1.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/space_to_batch_float_2.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/space_to_batch_float_3.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/space_to_batch_quant8_1.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/space_to_batch_quant8_2.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/space_to_batch_quant8_3.model.cpp28
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/squeeze.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/squeeze_2D_float_1_nnfw.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/squeeze_float_1.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/squeeze_quant8_1.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_1.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_10.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_2.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_3.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_4.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_5.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_6.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_7.model.cpp39
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_8.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_ex_float_9.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_1.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_10.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_11.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_2.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_3.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_4.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_5.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_6.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_7.model.cpp39
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_8.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_float_9.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_qaunt8_10.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_qaunt8_11.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_quant8_1.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_quant8_2.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_quant8_3.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_quant8_4.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_quant8_5.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_quant8_6.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_quant8_7.model.cpp39
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_quant8_8.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/strided_slice_quant8_9.model.cpp40
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/sub.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/sub_broadcast_float.model.cpp25
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/tanh_.model.cpp19
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/tensorflowmax_ex_2D_float.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/tensorflowmax_ex_2D_int32.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/topk_v2_1D_float.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/topk_v2_1D_int32.model.cpp25
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/topk_v2_1D_quant8.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/topk_v2_2D_float.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/topk_v2_2D_int32.model.cpp25
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/topk_v2_2D_quant8.model.cpp26
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/transpose.model.cpp23
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/transpose_float_1.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/transpose_quant8_1.model.cpp24
-rw-r--r--runtimes/tests/neural_networks_test/runtime_run_android_nn_test.skip.armv7l-linux85
-rw-r--r--runtimes/tests/neural_networks_test/runtime_run_android_nn_test.skip.armv7l-linux.neurun105
-rw-r--r--runtimes/tests/neural_networks_test/runtime_run_android_nn_test.skip.armv7l-tizen95
-rw-r--r--runtimes/tests/neural_networks_test/runtime_run_android_nn_test.skip.x86_64-linux72
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/cast_ex_float32_to_int32.mod.py15
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/cast_ex_int32_to_float32.mod.py15
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/gather_1D_float.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/gather_1D_int32.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/gather_1D_quant8.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/gather_2D_float.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/gather_2D_int32.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/gather_2D_quant8.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/tensorflowmax_ex_2D_float.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/tensorflowmax_ex_2D_int32.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/topk_v2_1D_float.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/topk_v2_1D_int32.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/topk_v2_1D_quant8.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/topk_v2_2D_float.mod.py25
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/topk_v2_2D_int32.mod.py25
-rw-r--r--runtimes/tests/neural_networks_test/specs/Ex/topk_v2_2D_quant8.mod.py25
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/add.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/add_broadcast_quant8.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/add_quant8.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_float_1.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_float_2.mod.py51
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_float_3.mod.py51
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_float_4.mod.py51
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_float_5.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_quant8_1.mod.py34
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_quant8_2.mod.py51
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_quant8_3.mod.py51
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_quant8_4.mod.py34
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/avg_pool_quant8_5.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/concat_float_1.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/concat_float_2.mod.py41
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/concat_float_3.mod.py47
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/concat_float_4D_axis3_1_nnfw.mod.py64
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/concat_quant8_1.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/concat_quant8_2.mod.py41
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/concat_quant8_3.mod.py47
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_1_h3_w2_SAME.mod.py21
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_1_h3_w2_VALID.mod.py21
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_3_h3_w2_SAME.mod.py21
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_3_h3_w2_VALID.mod.py21
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_float.mod.py38
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_float_2.mod.py36
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_float_channels.mod.py38
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_float_channels_weights_as_inputs.mod.py44
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_float_large.mod.py45
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_float_large_weights_as_inputs.mod.py51
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_float_weights_as_inputs.mod.py42
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_quant8.mod.py45
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_quant8_2.mod.py45
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_quant8_channels.mod.py36
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_quant8_channels_weights_as_inputs.mod.py42
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_quant8_large.mod.py43
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_quant8_large_weights_as_inputs.mod.py49
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_quant8_overflow.mod.py43
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_quant8_overflow_weights_as_inputs.mod.py49
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/conv_quant8_weights_as_inputs.mod.py42
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depth_to_space_float_1.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depth_to_space_float_2.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depth_to_space_float_3.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depth_to_space_quant8_1.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depth_to_space_quant8_2.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_float.mod.py51
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_float_2.mod.py44
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_float_large.mod.py44
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_float_large_2.mod.py46
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_float_large_2_weights_as_inputs.mod.py53
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_float_large_weights_as_inputs.mod.py49
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_float_weights_as_inputs.mod.py58
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_quant8.mod.py41
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_quant8_2.mod.py44
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_quant8_large.mod.py41
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_quant8_large_weights_as_inputs.mod.py45
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/depthwise_conv2d_quant8_weights_as_inputs.mod.py45
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/dequantize.mod.py15
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/embedding_lookup.mod.py45
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/embedding_lookup_2d_nnfw.mod.py43
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/embedding_lookup_4d_nnfw.mod.py42
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/floor_.mod.py17
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_float.mod.py32
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_float_1_nnfw.mod.py34
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_float_2.mod.py61
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_float_3.mod.py32
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_float_large.mod.py32
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_float_large_weights_as_inputs.mod.py36
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_float_weights_as_inputs.mod.py34
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_quant8.mod.py32
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_quant8_2.mod.py36
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_quant8_large.mod.py32
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_quant8_large_weights_as_inputs.mod.py36
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/fully_connected_quant8_weights_as_inputs.mod.py34
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/hashtable_lookup_float.mod.py54
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/hashtable_lookup_quant8.mod.py54
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/l2_normalization.mod.py32
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/l2_normalization_2.mod.py32
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/l2_normalization_large.mod.py38
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/l2_pool_float.mod.py30
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/l2_pool_float_2.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/l2_pool_float_large.mod.py41
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/local_response_norm_float_1.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/local_response_norm_float_2.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/local_response_norm_float_3.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/local_response_norm_float_4.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/logistic_float_1.mod.py35
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/logistic_float_2.mod.py39
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/logistic_quant8_1.mod.py32
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/logistic_quant8_2.mod.py42
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lsh_projection.mod.py40
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lsh_projection_2.mod.py41
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lsh_projection_weights_as_inputs.mod.py38
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm.mod.py148
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm2.mod.py142
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm2_state.mod.py141
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm2_state2.mod.py142
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm3.mod.py662
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm3_state.mod.py683
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm3_state2.mod.py683
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm3_state3.mod.py663
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm_state.mod.py148
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/lstm_state2.mod.py148
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/max_pool_float_1.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/max_pool_float_2.mod.py53
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/max_pool_float_3.mod.py53
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/max_pool_float_4.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/max_pool_quant8_1.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/max_pool_quant8_2.mod.py53
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/max_pool_quant8_3.mod.py53
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/max_pool_quant8_4.mod.py31
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/mobilenet_224_gender_basic_fixed.mod.py259
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/mobilenet_quantized.mod.py261
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/mul.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/mul_broadcast_3D_1D_1_nnfw.mod.py42
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/mul_broadcast_3D_1D_2_nnfw.mod.py43
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/mul_broadcast_quant8.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/mul_quant8.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/mul_relu.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu1_float_1.mod.py28
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu1_float_2.mod.py39
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu1_quant8_1.mod.py39
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu1_quant8_2.mod.py39
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu6_float_1.mod.py28
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu6_float_2.mod.py39
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu6_quant8_1.mod.py37
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu6_quant8_2.mod.py39
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu_float_1.mod.py28
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu_float_2.mod.py39
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu_quant8_1.mod.py41
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/relu_quant8_2.mod.py39
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/reshape.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/reshape_quant8.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/reshape_quant8_weights_as_inputs.mod.py21
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/reshape_weights_as_inputs.mod.py20
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/resize_bilinear.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/resize_bilinear_2.mod.py34
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/rnn.mod.py201
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/rnn_state.mod.py126
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/softmax_float_1.mod.py17
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/softmax_float_2.mod.py21
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/softmax_quant8_1.mod.py17
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/softmax_quant8_2.mod.py21
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/space_to_depth_float_1.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/space_to_depth_float_2.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/space_to_depth_float_3.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/space_to_depth_quant8_1.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/space_to_depth_quant8_2.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/svdf.mod.py138
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/svdf2.mod.py153
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/svdf_state.mod.py114
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_0/tanh_.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/batch_to_space.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/batch_to_space_float_1.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/batch_to_space_quant8_1.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/div_.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/div_broadcast_float.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/fully_connected_float_4d_simple.mod.py42
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/mean.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/mean_axis01_1_nnfw.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/mean_axis01_2_nnfw.mod.py17
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/mean_float_1.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/mean_float_2.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/mean_quant8_1.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/mean_quant8_2.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/pad.mod.py20
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/pad_float_1.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/space_to_batch.mod.py17
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/space_to_batch_float_1.mod.py17
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/space_to_batch_float_2.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/space_to_batch_float_3.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/space_to_batch_quant8_1.mod.py17
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/space_to_batch_quant8_2.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/space_to_batch_quant8_3.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/squeeze.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/squeeze_2D_float_1_nnfw.mod.py16
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/squeeze_float_1.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/squeeze_quant8_1.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice.mod.py23
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_1.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_10.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_11.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_2.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_3.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_4.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_5.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_6.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_7.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_8.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_float_9.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_qaunt8_10.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_qaunt8_11.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_quant8_1.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_quant8_2.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_quant8_3.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_quant8_4.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_quant8_5.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_quant8_6.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_quant8_7.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_quant8_8.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/strided_slice_quant8_9.mod.py22
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/sub.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/sub_broadcast_float.mod.py19
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/transpose.mod.py18
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/transpose_float_1.mod.py32
-rw-r--r--runtimes/tests/neural_networks_test/specs/V1_1/transpose_quant8_1.mod.py32
-rwxr-xr-xruntimes/tests/neural_networks_test/specs/generate_test.sh118
-rwxr-xr-xruntimes/tests/neural_networks_test/specs/generate_vts_test.sh68
-rwxr-xr-xruntimes/tests/neural_networks_test/specs/slicing.sh74
-rw-r--r--scripts/command/docker-run26
-rwxr-xr-xscripts/command/docker-shell (renamed from scripts/command/docker_run.sh)0
-rwxr-xr-xscripts/command/docker_build_cross_arm_neurun.sh36
-rwxr-xr-xscripts/command/docker_build_cross_arm_ubuntu.sh44
-rwxr-xr-xscripts/command/docker_build_cross_arm_ubuntu_without_aclbuild.sh22
-rwxr-xr-xscripts/command/docker_build_tizen_cross.sh22
-rwxr-xr-xscripts/command/docker_build_ubuntu_coverity.sh72
-rwxr-xr-xscripts/command/docker_build_ubuntu_svace.sh32
-rwxr-xr-xscripts/command/docker_coverage_report.sh26
-rwxr-xr-xscripts/command/docker_cross_test_coverage_build.sh34
-rw-r--r--scripts/command/docker_env_neurun1
-rw-r--r--scripts/command/docker_env_pureacl_tflite_benchmark_model2
-rwxr-xr-xscripts/command/docker_gbs_build.sh22
-rwxr-xr-xscripts/command/docker_run_test.sh36
-rwxr-xr-xscripts/command/format-checker.sh95
-rwxr-xr-xscripts/command/gen_coverage_report.sh23
-rw-r--r--scripts/command/nnfw_docker14
-rw-r--r--scripts/command/nnfw_docker_tizen14
-rwxr-xr-xscripts/command/run_coverity.sh60
-rwxr-xr-xscripts/command/tizen_xu4_test.sh26
-rw-r--r--scripts/docker/Dockerfile6
-rw-r--r--scripts/docker/Dockerfile_tizen5
-rw-r--r--scripts/docker_helper33
-rwxr-xr-xscripts/git-hooks/install_hooks.sh11
-rwxr-xr-xscripts/git-hooks/pre-push32
-rwxr-xr-xtests/framework/run_test.sh76
-rw-r--r--tests/framework/tests/MODELS/inception_module/config.sh1
-rw-r--r--tests/framework/tests/MODELS/inception_nonslim/config.sh3
-rw-r--r--tests/framework/tests/MODELS/inception_slim/config.sh3
-rw-r--r--tests/framework/tests/MODELS/mobilenet/config.sh3
-rw-r--r--tests/framework/tests/add/1D/config.sh1
-rw-r--r--tests/framework/tests/add/4D/config.sh1
-rw-r--r--tests/framework/tests/average_pool_2d/avgpool1/config.sh1
-rw-r--r--tests/framework/tests/average_pool_2d/avgpool2/config.sh1
-rw-r--r--tests/framework/tests/cast/config.sh1
-rw-r--r--tests/framework/tests/concat/2D/config.sh2
-rw-r--r--tests/framework/tests/concat/concat1/config.sh1
-rw-r--r--tests/framework/tests/concat/concat2/config.sh1
-rw-r--r--tests/framework/tests/conv_2d/convolution1/config.sh1
-rw-r--r--tests/framework/tests/conv_2d/convolution2/config.sh1
-rw-r--r--tests/framework/tests/custom/tensorflowmax/config.sh1
-rw-r--r--tests/framework/tests/depthwise_conv_2d/depthconv1/config.sh1
-rw-r--r--tests/framework/tests/depthwise_conv_2d/depthconv2/config.sh1
-rw-r--r--tests/framework/tests/div/broadcast/config.sh1
-rw-r--r--tests/framework/tests/embedding_lookup/config.sh2
-rw-r--r--tests/framework/tests/floor/floor1/config.sh1
-rw-r--r--tests/framework/tests/floor/floor2/config.sh1
-rw-r--r--tests/framework/tests/fullyconnected/fc1/config.sh1
-rw-r--r--tests/framework/tests/fullyconnected/matmul2x2/config.sh7
-rw-r--r--tests/framework/tests/gather/config.sh1
-rw-r--r--tests/framework/tests/hashtable_lookup/config.sh2
-rw-r--r--tests/framework/tests/inceptionv3/inception_nonslim/config.sh9
-rw-r--r--tests/framework/tests/inceptionv3/inception_slim/config.sh9
-rw-r--r--tests/framework/tests/l2_normalization/config.sh2
-rw-r--r--tests/framework/tests/l2_pool_2d/config.sh2
-rw-r--r--tests/framework/tests/logistic/config.sh2
-rw-r--r--tests/framework/tests/max_pool_2d/maxpool1/config.sh1
-rw-r--r--tests/framework/tests/max_pool_2d/maxpool2/config.sh1
-rw-r--r--tests/framework/tests/mean/config.sh1
-rw-r--r--tests/framework/tests/mul/broadcast/config.sh1
-rw-r--r--tests/framework/tests/pad/4D_2D/config.sh1
-rw-r--r--tests/framework/tests/pad/pad1/config.sh2
-rw-r--r--tests/framework/tests/pad/pad2/config.sh2
-rw-r--r--tests/framework/tests/reduce_mean/test1/config.sh3
-rw-r--r--tests/framework/tests/reduce_mean/test2/config.sh3
-rw-r--r--tests/framework/tests/relu/config.sh1
-rw-r--r--tests/framework/tests/relu6/config.sh1
-rw-r--r--tests/framework/tests/reshape/3D/config.sh1
-rw-r--r--tests/framework/tests/reshape/reshape1/config.sh1
-rw-r--r--tests/framework/tests/reshape/reshape2/config.sh1
-rw-r--r--tests/framework/tests/resize_bilinear/config.sh1
-rw-r--r--tests/framework/tests/rnn/config.sh2
-rw-r--r--tests/framework/tests/softmax/config.sh1
-rw-r--r--tests/framework/tests/space_to_depth/config.sh1
-rw-r--r--tests/framework/tests/squeeze/config.sh2
-rw-r--r--tests/framework/tests/strided_slice/config.sh1
-rw-r--r--tests/framework/tests/sub/broadcast/config.sh2
-rw-r--r--tests/framework/tests/tanh/config.sh2
-rw-r--r--tests/framework/tests/topk_v2/config.sh1
-rw-r--r--tests/framework/tests/tranpose/config.sh2
-rw-r--r--tools/CMakeLists.txt8
-rwxr-xr-xtools/cross/build_android_rootfs.sh62
-rwxr-xr-xtools/cross/build_rootfs.sh25
-rwxr-xr-xtools/extract_weights_from_tflite/extract.py90
-rwxr-xr-xtools/extract_weights_from_tflite/extract_from_tflite.sh31
-rwxr-xr-xtools/extract_weights_from_tflite/print_op.py58
-rw-r--r--tools/image_importer/README.md15
-rwxr-xr-xtools/image_importer/image_importer.py33
-rwxr-xr-xtools/image_importer/imagegen.py40
-rw-r--r--tools/modelgen/CONV_2D.template.json102
-rwxr-xr-xtools/modelgen/modelgen.py98
-rwxr-xr-xtools/modelgen/modelgen.sh31
-rw-r--r--tools/nnapi_quickcheck/CMakeLists.txt82
-rw-r--r--tools/nnapi_quickcheck/inc/env.h60
-rw-r--r--tools/nnapi_quickcheck/inc/memory.h34
-rw-r--r--tools/nnapi_quickcheck/lib/env.cpp50
-rw-r--r--tools/nnapi_quickcheck/lib/env.test.cpp45
-rw-r--r--tools/nnapi_quickcheck/tests/add_1.cpp159
-rw-r--r--tools/nnapi_quickcheck/tests/add_1.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/add_2.cpp177
-rw-r--r--tools/nnapi_quickcheck/tests/add_2.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/add_3.cpp137
-rw-r--r--tools/nnapi_quickcheck/tests/add_3.lst6
-rw-r--r--tools/nnapi_quickcheck/tests/add_4.cpp159
-rw-r--r--tools/nnapi_quickcheck/tests/add_4.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/add_5.cpp152
-rw-r--r--tools/nnapi_quickcheck/tests/add_5.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/add_6.cpp144
-rw-r--r--tools/nnapi_quickcheck/tests/add_6.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/add_7.cpp152
-rw-r--r--tools/nnapi_quickcheck/tests/add_7.lst11
-rw-r--r--tools/nnapi_quickcheck/tests/add_8.cpp190
-rw-r--r--tools/nnapi_quickcheck/tests/add_8.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/add_9.cpp187
-rw-r--r--tools/nnapi_quickcheck/tests/add_9.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/add_quan_1.cpp162
-rw-r--r--tools/nnapi_quickcheck/tests/add_quan_1.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/avg_pool_1.cpp150
-rw-r--r--tools/nnapi_quickcheck/tests/avg_pool_1.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/avg_pool_quan_1.cpp149
-rw-r--r--tools/nnapi_quickcheck/tests/avg_pool_quan_1.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/cast_1.cpp136
-rw-r--r--tools/nnapi_quickcheck/tests/cast_1.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/cast_2.cpp134
-rw-r--r--tools/nnapi_quickcheck/tests/cast_2.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/cast_q_to_f_1.cpp136
-rw-r--r--tools/nnapi_quickcheck/tests/cast_q_to_f_1.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/concat_1.cpp161
-rw-r--r--tools/nnapi_quickcheck/tests/concat_1.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/concat_quan_1.cpp163
-rw-r--r--tools/nnapi_quickcheck/tests/concat_quan_1.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/conv_1.cpp207
-rw-r--r--tools/nnapi_quickcheck/tests/conv_1.lst14
-rw-r--r--tools/nnapi_quickcheck/tests/conv_quan_1.cpp211
-rw-r--r--tools/nnapi_quickcheck/tests/conv_quan_1.lst14
-rw-r--r--tools/nnapi_quickcheck/tests/dconv_1.cpp205
-rw-r--r--tools/nnapi_quickcheck/tests/dconv_1.lst16
-rw-r--r--tools/nnapi_quickcheck/tests/dconv_quan_1.cpp209
-rw-r--r--tools/nnapi_quickcheck/tests/dconv_quan_1.lst16
-rw-r--r--tools/nnapi_quickcheck/tests/dequantize_1.cpp136
-rw-r--r--tools/nnapi_quickcheck/tests/dequantize_1.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/div_1.cpp159
-rw-r--r--tools/nnapi_quickcheck/tests/div_1.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/div_2.cpp152
-rw-r--r--tools/nnapi_quickcheck/tests/div_2.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/fully_connected_1.cpp187
-rw-r--r--tools/nnapi_quickcheck/tests/fully_connected_1.lst9
-rw-r--r--tools/nnapi_quickcheck/tests/fully_connected_quan_1.cpp189
-rw-r--r--tools/nnapi_quickcheck/tests/fully_connected_quan_1.lst9
-rw-r--r--tools/nnapi_quickcheck/tests/gather_1.cpp132
-rw-r--r--tools/nnapi_quickcheck/tests/gather_1.lst6
-rw-r--r--tools/nnapi_quickcheck/tests/gather_2.cpp136
-rw-r--r--tools/nnapi_quickcheck/tests/gather_2.lst7
-rw-r--r--tools/nnapi_quickcheck/tests/logistic_quan_1.cpp140
-rw-r--r--tools/nnapi_quickcheck/tests/logistic_quan_1.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/max_pool_1.cpp156
-rw-r--r--tools/nnapi_quickcheck/tests/max_pool_1.lst17
-rw-r--r--tools/nnapi_quickcheck/tests/max_pool_quan_1.cpp158
-rw-r--r--tools/nnapi_quickcheck/tests/max_pool_quan_1.lst17
-rw-r--r--tools/nnapi_quickcheck/tests/mul_1.cpp152
-rw-r--r--tools/nnapi_quickcheck/tests/mul_1.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/mul_2.cpp150
-rw-r--r--tools/nnapi_quickcheck/tests/mul_2.lst9
-rw-r--r--tools/nnapi_quickcheck/tests/mul_quan_1.cpp152
-rw-r--r--tools/nnapi_quickcheck/tests/mul_quan_1.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/relu1_1.cpp121
-rw-r--r--tools/nnapi_quickcheck/tests/relu1_1.lst6
-rw-r--r--tools/nnapi_quickcheck/tests/relu6_1.cpp125
-rw-r--r--tools/nnapi_quickcheck/tests/relu6_1.lst6
-rw-r--r--tools/nnapi_quickcheck/tests/relu6_quan_1.cpp123
-rw-r--r--tools/nnapi_quickcheck/tests/relu6_quan_1.lst6
-rw-r--r--tools/nnapi_quickcheck/tests/relu_1.cpp125
-rw-r--r--tools/nnapi_quickcheck/tests/relu_1.lst6
-rw-r--r--tools/nnapi_quickcheck/tests/relu_2.cpp128
-rw-r--r--tools/nnapi_quickcheck/tests/relu_2.lst7
-rw-r--r--tools/nnapi_quickcheck/tests/relu_3.cpp131
-rw-r--r--tools/nnapi_quickcheck/tests/relu_3.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/relu_quan_1.cpp123
-rw-r--r--tools/nnapi_quickcheck/tests/relu_quan_1.lst6
-rw-r--r--tools/nnapi_quickcheck/tests/reshape_1.cpp141
-rw-r--r--tools/nnapi_quickcheck/tests/reshape_1.lst7
-rw-r--r--tools/nnapi_quickcheck/tests/reshape_quan_1.cpp143
-rw-r--r--tools/nnapi_quickcheck/tests/reshape_quan_1.lst7
-rw-r--r--tools/nnapi_quickcheck/tests/resize_bilinear_1.cpp141
-rw-r--r--tools/nnapi_quickcheck/tests/resize_bilinear_1.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/softmax_1.cpp120
-rw-r--r--tools/nnapi_quickcheck/tests/softmax_1.lst6
-rw-r--r--tools/nnapi_quickcheck/tests/softmax_2.cpp139
-rw-r--r--tools/nnapi_quickcheck/tests/softmax_2.lst11
-rw-r--r--tools/nnapi_quickcheck/tests/softmax_quan_1.cpp122
-rw-r--r--tools/nnapi_quickcheck/tests/softmax_quan_1.lst6
-rw-r--r--tools/nnapi_quickcheck/tests/split_1.cpp153
-rw-r--r--tools/nnapi_quickcheck/tests/split_1.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/split_2.cpp153
-rw-r--r--tools/nnapi_quickcheck/tests/split_2.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/split_3.cpp147
-rw-r--r--tools/nnapi_quickcheck/tests/split_3.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/split_4.cpp147
-rw-r--r--tools/nnapi_quickcheck/tests/split_4.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/sub_1.cpp159
-rw-r--r--tools/nnapi_quickcheck/tests/sub_1.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/sub_2.cpp152
-rw-r--r--tools/nnapi_quickcheck/tests/sub_2.lst10
-rw-r--r--tools/nnapi_quickcheck/tests/sub_3.cpp144
-rw-r--r--tools/nnapi_quickcheck/tests/sub_3.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/sub_4.cpp152
-rw-r--r--tools/nnapi_quickcheck/tests/sub_4.lst11
-rw-r--r--tools/nnapi_quickcheck/tests/sub_5.cpp188
-rw-r--r--tools/nnapi_quickcheck/tests/sub_5.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/sub_6.cpp188
-rw-r--r--tools/nnapi_quickcheck/tests/sub_6.lst13
-rw-r--r--tools/nnapi_quickcheck/tests/tanh_1.cpp134
-rw-r--r--tools/nnapi_quickcheck/tests/tanh_1.lst8
-rw-r--r--tools/nnapi_quickcheck/tests/topk_v2_1.cpp138
-rw-r--r--tools/nnapi_quickcheck/tests/topk_v2_1.lst6
-rw-r--r--tools/nnapi_test/src/nnapi_test.cc26
-rw-r--r--tools/opencl_tool/CMakeLists.txt12
-rw-r--r--tools/opencl_tool/src/opencl_info.cc154
-rw-r--r--tools/pbfile_tool/convert_ckpt_to_pb.py80
-rwxr-xr-xtools/pbfile_tool/pb_info.py158
-rw-r--r--tools/pbfile_tool/readme.md17
-rw-r--r--tools/tensorflow_model_freezer/__init__.py15
-rw-r--r--tools/tensorflow_model_freezer/base_freezer.py201
-rw-r--r--tools/tensorflow_model_freezer/model_freezer_util.py233
-rw-r--r--tools/tensorflow_model_freezer/readme.md20
-rwxr-xr-xtools/tensorflow_model_freezer/sample/DIV_gen.py148
-rwxr-xr-xtools/tensorflow_model_freezer/sample/MUL_gen.py128
-rw-r--r--tools/tensorflow_model_freezer/sample/Operation_gen.py214
-rwxr-xr-xtools/tensorflow_model_freezer/sample/SQUEEZE_gen.py127
-rwxr-xr-xtools/tensorflow_model_freezer/sample/TOPK_gen.py119
-rw-r--r--tools/tensorflow_model_freezer/sample/__init__.py15
-rw-r--r--tools/test_driver/README.md63
-rw-r--r--tools/test_driver/benchmark_op_list.txt11
-rwxr-xr-xtools/test_driver/common.sh34
-rw-r--r--tools/test_driver/neurun_frameworktest_list.txt10
-rwxr-xr-xtools/test_driver/print_to_json.sh35
-rwxr-xr-xtools/test_driver/py/common.py39
-rwxr-xr-xtools/test_driver/py/run_frameworktest.py199
-rwxr-xr-xtools/test_driver/py/run_unittest.py187
-rwxr-xr-xtools/test_driver/py/test_driver.py398
-rwxr-xr-xtools/test_driver/run_benchmark.sh146
-rwxr-xr-xtools/test_driver/run_benchmark_acl.sh113
-rwxr-xr-xtools/test_driver/run_benchmark_op.sh209
-rw-r--r--tools/test_driver/run_benchmark_tflite_model.in1
-rwxr-xr-xtools/test_driver/run_benchmark_tflite_model.sh125
-rwxr-xr-xtools/test_driver/run_frameworktest.sh95
-rwxr-xr-xtools/test_driver/run_unittest.sh109
-rwxr-xr-xtools/test_driver/test_driver.sh372
-rw-r--r--tools/tflite_benchmark/CMakeLists.txt5
-rw-r--r--tools/tflite_benchmark/src/tflite_benchmark.cc231
-rw-r--r--tools/tflite_benchmark_model/.FORMATDENY0
-rw-r--r--tools/tflite_benchmark_model/CMakeLists.txt6
-rw-r--r--tools/tflite_benchmark_model/README.md209
-rw-r--r--tools/tflite_benchmark_model/benchmark_main.cc53
-rw-r--r--tools/tflite_benchmark_model/benchmark_model.cc175
-rw-r--r--tools/tflite_benchmark_model/benchmark_model.h177
-rw-r--r--tools/tflite_benchmark_model/benchmark_params.cc73
-rw-r--r--tools/tflite_benchmark_model/benchmark_params.h118
-rw-r--r--tools/tflite_benchmark_model/benchmark_tflite_model.cc360
-rw-r--r--tools/tflite_benchmark_model/benchmark_tflite_model.h95
-rw-r--r--tools/tflite_benchmark_model/command_line_flags.cc214
-rw-r--r--tools/tflite_benchmark_model/command_line_flags.h141
-rw-r--r--tools/tflite_benchmark_model/logging.h92
-rw-r--r--tools/tflite_benchmark_model/profile_summarizer.cc164
-rw-r--r--tools/tflite_benchmark_model/profile_summarizer.h55
-rw-r--r--tools/tflite_examples/CMakeLists.txt2
-rw-r--r--tools/tflite_examples/src/conv.cpp330
-rw-r--r--tools/tflite_run/CMakeLists.txt26
-rw-r--r--tools/tflite_run/README.md91
-rw-r--r--tools/tflite_run/src/args.cc125
-rw-r--r--tools/tflite_run/src/args.h55
-rw-r--r--tools/tflite_run/src/bin_image.cc71
-rw-r--r--tools/tflite_run/src/bin_image.h43
-rw-r--r--tools/tflite_run/src/tensor_dumper.cc54
-rw-r--r--tools/tflite_run/src/tensor_dumper.h38
-rw-r--r--tools/tflite_run/src/tensor_loader.cc67
-rw-r--r--tools/tflite_run/src/tensor_loader.h35
-rw-r--r--tools/tflite_run/src/tflite_run.cc253
-rw-r--r--tools/tflite_run/src/tflite_test.cc19
-rw-r--r--tools/tflitefile_tool/README.md81
-rwxr-xr-xtools/tflitefile_tool/model_parser.py110
-rwxr-xr-xtools/tflitefile_tool/operation.py199
-rwxr-xr-xtools/tflitefile_tool/operator_parser.py113
-rwxr-xr-xtools/tflitefile_tool/operator_wrapping.py120
-rwxr-xr-xtools/tflitefile_tool/perf_predictor.py15
-rwxr-xr-xtools/tflitefile_tool/select_operator.py825
-rwxr-xr-xtools/tflitefile_tool/tensor_wrapping.py54
-rw-r--r--tools/tflitefile_tool/tflite/ActivationFunctionType.py12
-rw-r--r--tools/tflitefile_tool/tflite/AddOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/ArgMaxOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/ArgMinOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/BatchToSpaceNDOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/BidirectionalSequenceRNNOptions.py51
-rw-r--r--tools/tflitefile_tool/tflite/Buffer.py61
-rw-r--r--tools/tflitefile_tool/tflite/BuiltinOperator.py86
-rw-r--r--tools/tflitefile_tool/tflite/BuiltinOptions.py65
-rw-r--r--tools/tflitefile_tool/tflite/CallOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/CastOptions.py50
-rw-r--r--tools/tflitefile_tool/tflite/CombinerType.py9
-rw-r--r--tools/tflitefile_tool/tflite/ConcatEmbeddingsOptions.py105
-rw-r--r--tools/tflitefile_tool/tflite/ConcatenationOptions.py50
-rw-r--r--tools/tflitefile_tool/tflite/Conv2DOptions.py94
-rw-r--r--tools/tflitefile_tool/tflite/CustomOptionsFormat.py7
-rw-r--r--tools/tflitefile_tool/tflite/DepthwiseConv2DOptions.py83
-rw-r--r--tools/tflitefile_tool/tflite/DequantizeOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/DivOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/EmbeddingLookupSparseOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/EqualOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/ExpOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/ExpandDimsOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/FakeQuantOptions.py72
-rw-r--r--tools/tflitefile_tool/tflite/FullyConnectedOptions.py50
-rw-r--r--tools/tflitefile_tool/tflite/FullyConnectedOptionsWeightsFormat.py8
-rw-r--r--tools/tflitefile_tool/tflite/GatherOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/GreaterEqualOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/GreaterOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/L2NormOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/LSHProjectionOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/LSHProjectionType.py9
-rw-r--r--tools/tflitefile_tool/tflite/LSTMKernelType.py8
-rw-r--r--tools/tflitefile_tool/tflite/LSTMOptions.py72
-rw-r--r--tools/tflitefile_tool/tflite/LessEqualOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/LessOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/LocalResponseNormalizationOptions.py72
-rw-r--r--tools/tflitefile_tool/tflite/LogSoftmaxOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/MaximumMinimumOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/MeanOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/Model.py171
-rw-r--r--tools/tflitefile_tool/tflite/MulOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/NegOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/NotEqualOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/Operator.py208
-rw-r--r--tools/tflitefile_tool/tflite/OperatorCode.py62
-rw-r--r--tools/tflitefile_tool/tflite/PadOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/PadV2Options.py28
-rw-r--r--tools/tflitefile_tool/tflite/Padding.py8
-rw-r--r--tools/tflitefile_tool/tflite/Pool2DOptions.py94
-rw-r--r--tools/tflitefile_tool/tflite/PowOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/QuantizationParameters.py160
-rw-r--r--tools/tflitefile_tool/tflite/RNNOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/ReducerOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/ReshapeOptions.py61
-rw-r--r--tools/tflitefile_tool/tflite/ResizeBilinearOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/SVDFOptions.py50
-rw-r--r--tools/tflitefile_tool/tflite/SelectOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/SequenceRNNOptions.py50
-rw-r--r--tools/tflitefile_tool/tflite/ShapeOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/SkipGramOptions.py61
-rw-r--r--tools/tflitefile_tool/tflite/SliceOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/SoftmaxOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/SpaceToBatchNDOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/SpaceToDepthOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/SparseToDenseOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/SplitOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/SqueezeOptions.py61
-rw-r--r--tools/tflitefile_tool/tflite/StridedSliceOptions.py83
-rw-r--r--tools/tflitefile_tool/tflite/SubGraph.py164
-rw-r--r--tools/tflitefile_tool/tflite/SubOptions.py39
-rw-r--r--tools/tflitefile_tool/tflite/Tensor.py122
-rw-r--r--tools/tflitefile_tool/tflite/TensorType.py15
-rw-r--r--tools/tflitefile_tool/tflite/TileOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/TopKV2Options.py28
-rw-r--r--tools/tflitefile_tool/tflite/TransposeConvOptions.py61
-rw-r--r--tools/tflitefile_tool/tflite/TransposeOptions.py28
-rw-r--r--tools/tflitefile_tool/tflite/__init__.py0
1890 files changed, 100651 insertions, 153497 deletions
diff --git a/.ctags b/.ctags
new file mode 100644
index 0000000..e3d6217
--- /dev/null
+++ b/.ctags
@@ -0,0 +1,6 @@
+--extra=+f
+--exclude=Product
+--exclude=tags
+--exclude=tests/framework/cache
+--exclude=tools/cross/rootfs
+--exclude=doxygen
diff --git a/.gitignore b/.gitignore
index ddba013..96188f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -63,10 +63,30 @@ GRTAGS
# Test cache for model download
/tests/framework/cache
-# external libs
-/externals/absl/
-/externals/eigen/
-/externals/farmhash/
-/externals/flatbuffers/
-/externals/gemmlowp/
-/externals/neon_2_sse/
+# Test report
+/report
+
+# doxygen
+/docs/doxygen/html
+
+# Generated by format checker
+/format.patch
+
+# Default path for ndk
+/tools/cross/ndk
+
+# ignore the embeded cl_kernels
+/libs/ARMComputeEx/src/core/CL/cl_kernels/*.clembed
+/libs/ARMComputeEx/src/core/CL/cl_kernels/*.hembed
+
+# External stamp file
+/externals/*.stamp
+
+# External library
+/externals/eigen
+/externals/farmhash
+/externals/flatbuffers
+/externals/gemmlowp
+/externals/gtest
+/externals/neon_2_sse
+/externals/tensorflow
diff --git a/.gitmodules b/.gitmodules
index a82b4ea..cc6da50 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,8 +1,4 @@
-[submodule "tensorflow"]
- path = externals/tensorflow
- url = git://git.tizen.org/platform/upstream/tensorflow
- branch = tizen
[submodule "acl"]
path = externals/acl
- url = git://git.tizen.org/platform/upstream/armcl
- branch = master
+ url = https://github.com/ARM-software/ComputeLibrary.git
+ ignore = dirty
diff --git a/CMakeLists.txt b/CMakeLists.txt
index faf88ef..fd9be5f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,181 +1,80 @@
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.1)
project(nnfw)
-if(CMAKE_VERSION VERSION_LESS 3.1.0)
- set(CMAKE_CXX_FLAGS "-std=c++11")
-else(CMAKE_VERSION VERSION_LESS 3.1.0)
- set(CMAKE_CXX_STANDARD 11)
-endif(CMAKE_VERSION VERSION_LESS 3.1.0)
-
-# set host platform to build
-if(NOT HOST_ARCH OR "${HOST_ARCH}" STREQUAL "")
- set(HOST_ARCH ${CMAKE_HOST_SYSTEM_PROCESSOR})
-endif()
-
-# set target platform to run
-if(NOT TARGET_ARCH OR "${TARGET_ARCH}" STREQUAL "")
- set(TARGET_ARCH "${HOST_ARCH}")
-endif()
-
-if(NOT DEFINED TARGET_OS)
- set(TARGET_OS "${HOST_OS}")
-endif()
-
-if("${HOST_ARCH}" STREQUAL "x86_64")
- set(HOST_ARCH_BASE ${HOST_ARCH})
-elseif("${HOST_ARCH}" STREQUAL "armv7l")
- set(HOST_ARCH_BASE "arm")
-elseif("${HOST_ARCH}" STREQUAL "arm64")
- set(HOST_ARCH_BASE "arm64")
-elseif("${HOST_ARCH}" STREQUAL "aarch64")
- set(HOST_ARCH_BASE "aarch64")
-else()
- message(FATAL_ERROR "'${HOST_ARCH}' architecture is not supported")
-endif()
-
-if("${TARGET_ARCH}" STREQUAL "x86_64")
- set(TARGET_ARCH_BASE ${TARGET_ARCH})
-elseif("${TARGET_ARCH}" STREQUAL "armv7l")
- set(TARGET_ARCH_BASE "arm")
-elseif("${TARGET_ARCH}" STREQUAL "arm64")
- set(TARGET_ARCH_BASE "arm64")
-elseif("${TARGET_ARCH}" STREQUAL "aarch64")
- set(TARGET_ARCH_BASE "aarch64")
-else()
- message(FATAL_ERROR "'${TARGET_ARCH}' architecture is not supported")
-endif()
-
-# Determine native or cross build
-if("${HOST_ARCH}" STREQUAL "${TARGET_ARCH}")
- set(BUILD_IS_NATIVE True)
-else()
- set(BUILD_IS_NATIVE False)
-endif()
-
-# host & target platform name
-set(HOST_PLATFORM "${HOST_ARCH}-${HOST_OS}")
-set(TARGET_PLATFORM "${TARGET_ARCH}-${TARGET_OS}")
-
-# lib pthread as a variable (pthread must be disabled on android)
-set(LIB_PTHREAD pthread)
+macro(nnfw_include PREFIX)
+ include("${CMAKE_SOURCE_DIR}/cmake/modules/${PREFIX}.cmake")
+endmacro(nnfw_include)
+
+macro(nnfw_find_package PREFIX)
+ find_package(${PREFIX} CONFIG NO_DEFAULT_PATH PATHS ${CMAKE_SOURCE_DIR}/cmake/packages ${ARGN})
+endmacro(nnfw_find_package)
+
+set(CMAKE_CXX_STANDARD 11)
+
+# identify platform: HOST_PLATFORM, TARGET_PLATFORM and related
+include("cmake/option/identify_platform.cmake")
# platform specific options
include("cmake/option/option_${TARGET_PLATFORM}.cmake")
-# test-coverage build flag
-if("${COVERAGE_BUILD}" STREQUAL "1")
- set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE ON)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- set(CMAKE_EXE_LINKER_FLAGS
- "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage")
-endif()
-
-# add common flags
-foreach(FLAG ${FLAGS_COMMON})
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAG}")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAG}")
-endforeach()
-
-# add c flags
-foreach(FLAG ${FLAGS_CONLY})
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAG}")
-endforeach()
-
-# add cxx flags
-foreach(FLAG ${FLAGS_CXXONLY})
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAG}")
-endforeach()
-
-#
+# apply compilation flags
+# note: this should be placed after cmake/option/option_xxx.cmake files
+include("cmake/ApplyCompileFlags.cmake")
+
# Configuration flags
-#
-option(BUILD_ACL "Build ARM Compute Library" OFF)
-option(BUILD_ACL_STATIC_LIB "Build ARM Comput Static Library" OFF)
-option(BUILD_BENCHMARK_ACL "Build ARM Compute Library Benchmarks" OFF)
-option(BUILD_NN_RUNTIME "Build NN Runtime" ON)
-option(BUILD_LABS "Build lab projects" ON)
-option(BUILD_ANDROID_NN_RUNTIME_TEST "Build Android NN Runtime Test" ON)
-
-#
-# Common variables
-#
-set(NNFW_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include)
-
-if(NOT "${TARGET_OS}" STREQUAL "tizen" AND NOT "${TARGET_OS}" STREQUAL "android")
- set(NNFW_ACL_FOLDER ${CMAKE_SOURCE_DIR}/externals/acl)
- set(NNFW_ACL_INCLUDES ${NNFW_ACL_FOLDER}
- ${NNFW_ACL_FOLDER}/include)
-else()
- set(NNFW_ACL_FOLDER "")
- set(NNFW_ACL_INCLUDES "")
-endif()
-set(NNFW_ACL_LIBS arm_compute_graph arm_compute arm_compute_core)
-set(NNFW_NN_RUNTIME_ROOT ${CMAKE_SOURCE_DIR}/runtimes/nn)
+include("cmake/CfgOptionFlags.cmake")
+# and besides CfgOptionFlags.cmake that can be given outside
+# OBS_BUILD: build boolean flag that tizen in OBS build
+# COVERAGE_BUILD: build boolean flag that enables converage test
+# ROOTFS_ARM: arm rootfs path for cross building
+# ROOTFS_ARM64: arm 64bit rootfs path for cross building, linux,tizen,android
+# TARGET_ARCH: target architecture string for cross building
+# TARGET_OS: target os string for cross building
# NOTE '${CMAKE_INSTALL_PREFIX}/lib' should be added as a link directory as
# CI server places pre-built ARM compute libraries on this directory.
link_directories(${CMAKE_INSTALL_PREFIX}/lib)
-#
+# Download configuration
+option(DOWNLOAD_TENSORFLOW "Download Tensorflow source" ON)
+option(DOWNLOAD_EIGEN "Download Eigen source" ON)
+option(DOWNLOAD_FARMHASH "Download farmhash source" ON)
+option(DOWNLOAD_GEMMLOWP "Download GEMM low precesion library source" ON)
+option(DOWNLOAD_NEON2SSE "Download NEON2SSE library source" ON)
+option(DOWNLOAD_FLATBUFFERS "Download FlatBuffers source" ON)
+
# GTest support
-#
-if("${TARGET_OS}" STREQUAL "tizen" AND NOT "${TARGET_OS}" STREQUAL "android")
- enable_testing()
- find_package(GTest REQUIRED)
- include_directories(${GTEST_INCLUDE_DIR})
-else()
- include(ExternalProject)
- # Download and install GoogleTest
- ExternalProject_Add(
- googletest
- URL https://github.com/google/googletest/archive/release-1.8.0.zip
- PREFIX ${CMAKE_CURRENT_BINARY_DIR}/googletest
- # Disable install step
- INSTALL_COMMAND ""
- LOG_DOWNLOAD 1
- LOG_BUILD 1
- LOG_CONFIGURE 1
- CMAKE_ARGS
- -DCMAKE_TOOLCHAIN_FILE=${PROJECT_SOURCE_DIR}/cmake/config/config_${TARGET_ARCH}-${TARGET_OS}.cmake
- )
- ExternalProject_Get_Property(googletest source_dir binary_dir)
-
- # include and link path for all sub project
- include_directories(${source_dir}/googletest/include/)
- link_directories(${binary_dir}/googlemock/gtest/)
-endif()
-
-# gtest libs
-set(NNFW_GTEST_LIBS libgtest.a libgtest_main.a ${LIB_PTHREAD})
+option(BUILD_GTEST "Download and build Google Test" ON)
+nnfw_find_package(GTest QUIET)
# TODO For now Android build is being enabled incrementally so not all subdirectories are added yet.
# However we are going to have the same subdirectories with other OS eventually.
if("${TARGET_OS}" STREQUAL "android")
include_directories(externals/tensorflow)
+ include_directories(externals/acl)
+ include_directories(externals/acl/include)
include_directories(externals/flatbuffers/include)
include_directories(include)
add_subdirectory(libs)
add_subdirectory(externals)
add_subdirectory(tools/nnapi_test)
+ add_subdirectory(tools/tflite_benchmark)
- if(BUILD_NN_RUNTIME)
- add_subdirectory(runtimes/nn)
- endif(BUILD_NN_RUNTIME)
- add_subdirectory(src/support/tflite)
+ add_subdirectory(runtimes)
else("${TARGET_OS}" STREQUAL "android") # General case (non-android build)
-# TODO Fix indentation
+ if (NOT OBS_BUILD)
+ add_subdirectory(externals)
+ endif()
+ add_subdirectory(libs)
+ add_subdirectory(tools)
+ add_subdirectory(runtimes)
-if (NOT ${TARGET_OS} STREQUAL "tizen")
- add_subdirectory(externals)
-endif()
-add_subdirectory(libs)
-add_subdirectory(tools)
-add_subdirectory(runtimes)
+ add_subdirectory(benchmark)
+ add_subdirectory(contrib)
endif("${TARGET_OS}" STREQUAL "android")
diff --git a/LICENSE b/LICENSE
index eb1c3bb..4d3b3ab 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,8 +1,7 @@
This file provides full text of licenses used in this project
- Apache Licence 2.0
-- Mozilla Public License 2.0
-- 3-Clause BSD License
+- MIT
...............................................................................
@@ -211,403 +210,24 @@ limitations under the License.
...............................................................................
-Mozilla Public License Version 2.0
-==================================
+Copyright (c) 2016-2018 ARM Limited.
-1. Definitions
---------------
+SPDX-License-Identifier: MIT
-1.1. "Contributor"
- means each individual or legal entity that creates, contributes to
- the creation of, or owns Covered Software.
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
-1.2. "Contributor Version"
- means the combination of the Contributions of others (if any) used
- by a Contributor and that particular Contributor's Contribution.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
-1.3. "Contribution"
- means Covered Software of a particular Contributor.
-
-1.4. "Covered Software"
- means Source Code Form to which the initial Contributor has attached
- the notice in Exhibit A, the Executable Form of such Source Code
- Form, and Modifications of such Source Code Form, in each case
- including portions thereof.
-
-1.5. "Incompatible With Secondary Licenses"
- means
-
- (a) that the initial Contributor has attached the notice described
- in Exhibit B to the Covered Software; or
-
- (b) that the Covered Software was made available under the terms of
- version 1.1 or earlier of the License, but not also under the
- terms of a Secondary License.
-
-1.6. "Executable Form"
- means any form of the work other than Source Code Form.
-
-1.7. "Larger Work"
- means a work that combines Covered Software with other material, in
- a separate file or files, that is not Covered Software.
-
-1.8. "License"
- means this document.
-
-1.9. "Licensable"
- means having the right to grant, to the maximum extent possible,
- whether at the time of the initial grant or subsequently, any and
- all of the rights conveyed by this License.
-
-1.10. "Modifications"
- means any of the following:
-
- (a) any file in Source Code Form that results from an addition to,
- deletion from, or modification of the contents of Covered
- Software; or
-
- (b) any new file in Source Code Form that contains any Covered
- Software.
-
-1.11. "Patent Claims" of a Contributor
- means any patent claim(s), including without limitation, method,
- process, and apparatus claims, in any patent Licensable by such
- Contributor that would be infringed, but for the grant of the
- License, by the making, using, selling, offering for sale, having
- made, import, or transfer of either its Contributions or its
- Contributor Version.
-
-1.12. "Secondary License"
- means either the GNU General Public License, Version 2.0, the GNU
- Lesser General Public License, Version 2.1, the GNU Affero General
- Public License, Version 3.0, or any later versions of those
- licenses.
-
-1.13. "Source Code Form"
- means the form of the work preferred for making modifications.
-
-1.14. "You" (or "Your")
- means an individual or a legal entity exercising rights under this
- License. For legal entities, "You" includes any entity that
- controls, is controlled by, or is under common control with You. For
- purposes of this definition, "control" means (a) the power, direct
- or indirect, to cause the direction or management of such entity,
- whether by contract or otherwise, or (b) ownership of more than
- fifty percent (50%) of the outstanding shares or beneficial
- ownership of such entity.
-
-2. License Grants and Conditions
---------------------------------
-
-2.1. Grants
-
-Each Contributor hereby grants You a world-wide, royalty-free,
-non-exclusive license:
-
-(a) under intellectual property rights (other than patent or trademark)
- Licensable by such Contributor to use, reproduce, make available,
- modify, display, perform, distribute, and otherwise exploit its
- Contributions, either on an unmodified basis, with Modifications, or
- as part of a Larger Work; and
-
-(b) under Patent Claims of such Contributor to make, use, sell, offer
- for sale, have made, import, and otherwise transfer either its
- Contributions or its Contributor Version.
-
-2.2. Effective Date
-
-The licenses granted in Section 2.1 with respect to any Contribution
-become effective for each Contribution on the date the Contributor first
-distributes such Contribution.
-
-2.3. Limitations on Grant Scope
-
-The licenses granted in this Section 2 are the only rights granted under
-this License. No additional rights or licenses will be implied from the
-distribution or licensing of Covered Software under this License.
-Notwithstanding Section 2.1(b) above, no patent license is granted by a
-Contributor:
-
-(a) for any code that a Contributor has removed from Covered Software;
- or
-
-(b) for infringements caused by: (i) Your and any other third party's
- modifications of Covered Software, or (ii) the combination of its
- Contributions with other software (except as part of its Contributor
- Version); or
-
-(c) under Patent Claims infringed by Covered Software in the absence of
- its Contributions.
-
-This License does not grant any rights in the trademarks, service marks,
-or logos of any Contributor (except as may be necessary to comply with
-the notice requirements in Section 3.4).
-
-2.4. Subsequent Licenses
-
-No Contributor makes additional grants as a result of Your choice to
-distribute the Covered Software under a subsequent version of this
-License (see Section 10.2) or under the terms of a Secondary License (if
-permitted under the terms of Section 3.3).
-
-2.5. Representation
-
-Each Contributor represents that the Contributor believes its
-Contributions are its original creation(s) or it has sufficient rights
-to grant the rights to its Contributions conveyed by this License.
-
-2.6. Fair Use
-
-This License is not intended to limit any rights You have under
-applicable copyright doctrines of fair use, fair dealing, or other
-equivalents.
-
-2.7. Conditions
-
-Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
-in Section 2.1.
-
-3. Responsibilities
--------------------
-
-3.1. Distribution of Source Form
-
-All distribution of Covered Software in Source Code Form, including any
-Modifications that You create or to which You contribute, must be under
-the terms of this License. You must inform recipients that the Source
-Code Form of the Covered Software is governed by the terms of this
-License, and how they can obtain a copy of this License. You may not
-attempt to alter or restrict the recipients' rights in the Source Code
-Form.
-
-3.2. Distribution of Executable Form
-
-If You distribute Covered Software in Executable Form then:
-
-(a) such Covered Software must also be made available in Source Code
- Form, as described in Section 3.1, and You must inform recipients of
- the Executable Form how they can obtain a copy of such Source Code
- Form by reasonable means in a timely manner, at a charge no more
- than the cost of distribution to the recipient; and
-
-(b) You may distribute such Executable Form under the terms of this
- License, or sublicense it under different terms, provided that the
- license for the Executable Form does not attempt to limit or alter
- the recipients' rights in the Source Code Form under this License.
-
-3.3. Distribution of a Larger Work
-
-You may create and distribute a Larger Work under terms of Your choice,
-provided that You also comply with the requirements of this License for
-the Covered Software. If the Larger Work is a combination of Covered
-Software with a work governed by one or more Secondary Licenses, and the
-Covered Software is not Incompatible With Secondary Licenses, this
-License permits You to additionally distribute such Covered Software
-under the terms of such Secondary License(s), so that the recipient of
-the Larger Work may, at their option, further distribute the Covered
-Software under the terms of either this License or such Secondary
-License(s).
-
-3.4. Notices
-
-You may not remove or alter the substance of any license notices
-(including copyright notices, patent notices, disclaimers of warranty,
-or limitations of liability) contained within the Source Code Form of
-the Covered Software, except that You may alter any license notices to
-the extent required to remedy known factual inaccuracies.
-
-3.5. Application of Additional Terms
-
-You may choose to offer, and to charge a fee for, warranty, support,
-indemnity or liability obligations to one or more recipients of Covered
-Software. However, You may do so only on Your own behalf, and not on
-behalf of any Contributor. You must make it absolutely clear that any
-such warranty, support, indemnity, or liability obligation is offered by
-You alone, and You hereby agree to indemnify every Contributor for any
-liability incurred by such Contributor as a result of warranty, support,
-indemnity or liability terms You offer. You may include additional
-disclaimers of warranty and limitations of liability specific to any
-jurisdiction.
-
-4. Inability to Comply Due to Statute or Regulation
----------------------------------------------------
-
-If it is impossible for You to comply with any of the terms of this
-License with respect to some or all of the Covered Software due to
-statute, judicial order, or regulation then You must: (a) comply with
-the terms of this License to the maximum extent possible; and (b)
-describe the limitations and the code they affect. Such description must
-be placed in a text file included with all distributions of the Covered
-Software under this License. Except to the extent prohibited by statute
-or regulation, such description must be sufficiently detailed for a
-recipient of ordinary skill to be able to understand it.
-
-5. Termination
---------------
-
-5.1. The rights granted under this License will terminate automatically
-if You fail to comply with any of its terms. However, if You become
-compliant, then the rights granted under this License from a particular
-Contributor are reinstated (a) provisionally, unless and until such
-Contributor explicitly and finally terminates Your grants, and (b) on an
-ongoing basis, if such Contributor fails to notify You of the
-non-compliance by some reasonable means prior to 60 days after You have
-come back into compliance. Moreover, Your grants from a particular
-Contributor are reinstated on an ongoing basis if such Contributor
-notifies You of the non-compliance by some reasonable means, this is the
-first time You have received notice of non-compliance with this License
-from such Contributor, and You become compliant prior to 30 days after
-Your receipt of the notice.
-
-5.2. If You initiate litigation against any entity by asserting a patent
-infringement claim (excluding declaratory judgment actions,
-counter-claims, and cross-claims) alleging that a Contributor Version
-directly or indirectly infringes any patent, then the rights granted to
-You by any and all Contributors for the Covered Software under Section
-2.1 of this License shall terminate.
-
-5.3. In the event of termination under Sections 5.1 or 5.2 above, all
-end user license agreements (excluding distributors and resellers) which
-have been validly granted by You or Your distributors under this License
-prior to termination shall survive termination.
-
-************************************************************************
-* *
-* 6. Disclaimer of Warranty *
-* ------------------------- *
-* *
-* Covered Software is provided under this License on an "as is" *
-* basis, without warranty of any kind, either expressed, implied, or *
-* statutory, including, without limitation, warranties that the *
-* Covered Software is free of defects, merchantable, fit for a *
-* particular purpose or non-infringing. The entire risk as to the *
-* quality and performance of the Covered Software is with You. *
-* Should any Covered Software prove defective in any respect, You *
-* (not any Contributor) assume the cost of any necessary servicing, *
-* repair, or correction. This disclaimer of warranty constitutes an *
-* essential part of this License. No use of any Covered Software is *
-* authorized under this License except under this disclaimer. *
-* *
-************************************************************************
-
-************************************************************************
-* *
-* 7. Limitation of Liability *
-* -------------------------- *
-* *
-* Under no circumstances and under no legal theory, whether tort *
-* (including negligence), contract, or otherwise, shall any *
-* Contributor, or anyone who distributes Covered Software as *
-* permitted above, be liable to You for any direct, indirect, *
-* special, incidental, or consequential damages of any character *
-* including, without limitation, damages for lost profits, loss of *
-* goodwill, work stoppage, computer failure or malfunction, or any *
-* and all other commercial damages or losses, even if such party *
-* shall have been informed of the possibility of such damages. This *
-* limitation of liability shall not apply to liability for death or *
-* personal injury resulting from such party's negligence to the *
-* extent applicable law prohibits such limitation. Some *
-* jurisdictions do not allow the exclusion or limitation of *
-* incidental or consequential damages, so this exclusion and *
-* limitation may not apply to You. *
-* *
-************************************************************************
-
-8. Litigation
--------------
-
-Any litigation relating to this License may be brought only in the
-courts of a jurisdiction where the defendant maintains its principal
-place of business and such litigation shall be governed by laws of that
-jurisdiction, without reference to its conflict-of-law provisions.
-Nothing in this Section shall prevent a party's ability to bring
-cross-claims or counter-claims.
-
-9. Miscellaneous
-----------------
-
-This License represents the complete agreement concerning the subject
-matter hereof. If any provision of this License is held to be
-unenforceable, such provision shall be reformed only to the extent
-necessary to make it enforceable. Any law or regulation which provides
-that the language of a contract shall be construed against the drafter
-shall not be used to construe this License against a Contributor.
-
-10. Versions of the License
----------------------------
-
-10.1. New Versions
-
-Mozilla Foundation is the license steward. Except as provided in Section
-10.3, no one other than the license steward has the right to modify or
-publish new versions of this License. Each version will be given a
-distinguishing version number.
-
-10.2. Effect of New Versions
-
-You may distribute the Covered Software under the terms of the version
-of the License under which You originally received the Covered Software,
-or under the terms of any subsequent version published by the license
-steward.
-
-10.3. Modified Versions
-
-If you create software not governed by this License, and you want to
-create a new license for such software, you may create and use a
-modified version of this License if you rename the license and remove
-any references to the name of the license steward (except to note that
-such modified license differs from this License).
-
-10.4. Distributing Source Code Form that is Incompatible With Secondary
-Licenses
-
-If You choose to distribute Source Code Form that is Incompatible With
-Secondary Licenses under the terms of this version of the License, the
-notice described in Exhibit B of this License must be attached.
-
-Exhibit A - Source Code Form License Notice
--------------------------------------------
-
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-If it is not possible or desirable to put the notice in a particular
-file, then You may include the notice in a location (such as a LICENSE
-file in a relevant directory) where a recipient would be likely to look
-for such a notice.
-
-You may add additional accurate notices of copyright ownership.
-
-Exhibit B - "Incompatible With Secondary Licenses" Notice
----------------------------------------------------------
-
- This Source Code Form is "Incompatible With Secondary Licenses", as
- defined by the Mozilla Public License, v. 2.0.
-
-...............................................................................
-
-Copyright (c) 2011, Intel Corporation. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors may
- be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/Makefile b/Makefile
index 63b1729..4c7b98e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,13 @@ CROSS_BUILD?=0
HOST_OS?=linux
TARGET_OS?=linux
NPROCS:=1
-OBS_BUILD?=0
+PARALLEL_BUILD?=1
+## TODO: fix obs build break
+OBS_BUILD?=OFF
COVERAGE_BUILD?=0
BENCHMARK_ACL_BUILD?=0
OPTIONS?=
+UPDATE_MODULE?=1
# make TARGET and TYPE to lowercase
TARGET_ARCH_LC=$(shell echo $(TARGET_ARCH) | tr A-Z a-z)
@@ -56,9 +59,11 @@ ifeq ($(BENCHMARK_ACL_BUILD),1)
OPTIONS+= -DBUILD_BENCHMARK_ACL=1
endif
-# Get number of processors (linux only for now)
-ifeq ($(HOST_OS),linux)
- NPROCS:=$(shell grep -c ^processor /proc/cpuinfo)
+ifeq ($(PARALLEL_BUILD),1)
+ # Get number of processors (linux only for now)
+ ifeq ($(HOST_OS),linux)
+ NPROCS:=$(shell grep -c ^processor /proc/cpuinfo)
+ endif
endif
WORKHOME=Product
@@ -79,19 +84,36 @@ TIMESTAMP_CONFIGURE=$(WORKDIR)/CONFIGURE
TIMESTAMP_BUILD=$(WORKDIR)/BUILD
TIMESTAMP_INSTALL=$(WORKDIR)/INSTALL
+#
+# for Build Arm Compute Library with SCONS
+#
ACL_FOLDER=externals/acl
-ACL_COMMAND=scons -j${NPROCS} Werror=1 neon=1 opencl=1 os=linux examples=0 embed_kernels=1
+ACL_COMMAND=scons -j${NPROCS} neon=1 opencl=1 examples=0 embed_kernels=1 os=$(TARGET_OS)
ifeq ($(TARGET_ARCH_LC),armv7l)
ACL_COMMAND+= arch=armv7a
+ ACL_BUILD_OUT=armv7a-$(TARGET_OS)
else ifeq ($(TARGET_ARCH_LC),aarch64)
ACL_COMMAND+= arch=arm64-v8a
+ ACL_BUILD_OUT=arm64-v8a-$(TARGET_OS)
+else ifeq ($(TARGET_ARCH_BASE),arm64)
+ ACL_COMMAND+= arch=arm64-v8a
+ ACL_BUILD_OUT=arm64-v8a-$(TARGET_OS)
endif
-ifeq ($(BUILD_TYPE_LC),debug)
- ACL_COMMAND+=debug=1 asserts=1 build_dir=debug
- ACL_FOLDER_BUILD=$(ACL_FOLDER)/build/debug
+ifeq ($(TARGET_OS),android)
+ ACL_COMMAND+= Werror=0
+ ANDROID_GNUSTL_PATH=$(ROOTFS_ARM64)/bin:$(ROOTFS_ARM64)/aarch64-linux-android/bin:$$PATH
else
- ACL_COMMAND+=build_dir=release
- ACL_FOLDER_BUILD=$(ACL_FOLDER)/build/release
+ ACL_COMMAND+= Werror=1
+endif
+ifeq ($(BUILD_TYPE_LC),debug)
+ ACL_COMMAND+= debug=1 asserts=1
+endif
+ACL_FOLDER_NAME=$(ACL_BUILD_OUT).$(BUILD_TYPE_LC)
+ACL_COMMAND+= build_dir=$(ACL_FOLDER_NAME)
+ACL_FOLDER_BUILD=$(ACL_FOLDER)/build/$(ACL_FOLDER_NAME)
+
+ifeq ($(OBS_BUILD),ON)
+ UPDATE_MODULE=0
endif
all: build
@@ -122,7 +144,7 @@ tflite: tflite_build_internal
### Command (internal)
###
configure_internal:
-ifneq ($(TARGET_OS),tizen)
+ifeq ($(UPDATE_MODULE),1)
git submodule update --init --recursive
endif
@@ -132,6 +154,7 @@ endif
-DCMAKE_BUILD_TYPE=$(BUILD_TYPE_LC) -DTARGET_ARCH=$(TARGET_ARCH_LC) \
-DHOST_OS=$(HOST_OS) \
-DTARGET_OS=$(TARGET_OS) \
+ -DOBS_BUILD=$(OBS_BUILD) \
$(OPTION_TOOLCHAIN) \
$(OPTIONS)
touch $(TIMESTAMP_CONFIGURE)
@@ -149,7 +172,15 @@ install_internal:<