├── .gitignore ├── LICENSE ├── README.md ├── gpu_speedup.png ├── overview.png ├── tf1 ├── README.md ├── axqconv │ ├── Makefile │ ├── approximate_selector.h │ ├── axmult │ │ ├── mul8u_125K.c │ │ ├── mul8u_12N4.c │ │ ├── mul8u_13QR.c │ │ ├── mul8u_1446.c │ │ ├── mul8u_14VP.c │ │ ├── mul8u_150Q.c │ │ ├── mul8u_17C8.c │ │ ├── mul8u_17KS.c │ │ ├── mul8u_17QU.c │ │ ├── mul8u_185Q.c │ │ ├── mul8u_18DU.c │ │ ├── mul8u_199Z.c │ │ ├── mul8u_19DB.c │ │ ├── mul8u_1AGV.c │ │ ├── mul8u_1JFF.c │ │ ├── mul8u_2AC.c │ │ ├── mul8u_2HH.c │ │ ├── mul8u_2P7.c │ │ ├── mul8u_7C1.c │ │ ├── mul8u_96D.c │ │ ├── mul8u_CK5.c │ │ ├── mul8u_DM1.c │ │ ├── mul8u_EXZ.c │ │ ├── mul8u_FTA.c │ │ ├── mul8u_GS2.c │ │ ├── mul8u_JQQ.c │ │ ├── mul8u_JV3.c │ │ ├── mul8u_KEM.c │ │ ├── mul8u_L40.c │ │ ├── mul8u_NGR.c │ │ ├── mul8u_PKY.c │ │ ├── mul8u_QJD.c │ │ ├── mul8u_QKX.c │ │ ├── mul8u_Y48.c │ │ ├── mul8u_YX7.c │ │ └── mul8u_ZFB.c │ ├── axqconv.cc │ ├── generate_header.py │ ├── quantization_utils.h │ ├── tables.cc │ └── tune.cc └── examples │ ├── cifar-10-graphs │ ├── resnet_8.pb │ ├── resnet_8_quant.pb │ └── resnet_8_quant_ax.pb │ ├── cifar10.py │ ├── cifar10_ax_inference.py │ ├── cifar10_model.py │ ├── cifar10_utils.py │ └── generate_cifar10_tfrecords.py └── tf2 ├── CMakeLists.txt ├── README.md ├── cmake └── modules │ ├── FindSingularityBuilder.cmake │ └── FindTensorflow.cmake ├── containers ├── CMakeLists.txt ├── tf-approximate-gpu.def.in └── tf-approximate-gpu.sh.in ├── examples ├── axmul_8x8 │ ├── mul8u_125K.bin │ ├── mul8u_12N4.bin │ ├── mul8u_13QR.bin │ ├── mul8u_1446.bin │ ├── mul8u_14VP.bin │ ├── mul8u_150Q.bin │ ├── mul8u_17C8.bin │ ├── mul8u_17KS.bin │ ├── mul8u_17QU.bin │ ├── mul8u_185Q.bin │ ├── mul8u_18DU.bin │ ├── mul8u_199Z.bin │ ├── mul8u_19DB.bin │ ├── mul8u_1AGV.bin │ ├── mul8u_1JFF.bin │ ├── mul8u_2AC.bin │ ├── mul8u_2HH.bin │ ├── mul8u_2P7.bin │ ├── mul8u_7C1.bin │ ├── mul8u_96D.bin │ ├── mul8u_CK5.bin │ ├── mul8u_DM1.bin │ ├── mul8u_EXZ.bin │ ├── mul8u_FTA.bin │ ├── mul8u_GS2.bin │ ├── mul8u_JQQ.bin │ ├── mul8u_JV3.bin │ ├── mul8u_KEM.bin │ ├── mul8u_L40.bin │ ├── mul8u_NGR.bin │ ├── mul8u_PKY.bin │ ├── mul8u_QJD.bin │ ├── mul8u_QKX.bin │ ├── mul8u_Y48.bin │ ├── mul8u_YX7.bin │ └── mul8u_ZFB.bin ├── fake_approx_eval.py └── fake_approx_train.py ├── python └── keras │ └── layers │ └── fake_approx_convolutional.py ├── src ├── CMakeLists.txt ├── approx_gemm_functors.h ├── approx_nn_conv_kernels.cpp ├── approx_nn_conv_kernels.h ├── approx_nn_conv_ops.cpp ├── approx_nn_conv_ops.h ├── approx_nn_conv_ops_gemm.cpp ├── approx_nn_conv_ops_gpu.h ├── approx_nn_conv_ops_ref.cpp ├── approx_nn_ops.cpp ├── approx_ops_types.h ├── cuda │ ├── CMakeLists.txt │ ├── approx_nn_conv_kernels.cu │ ├── approx_nn_conv_ops.cu │ ├── approx_nn_conv_ops_gemm.cu │ └── approx_ops_types.cu ├── gpu_cuda_alias.h ├── gpu_device_functions.h ├── gpu_kernel_helper.h ├── gpu_launch_config.h └── gpu_utils.h └── test ├── test_mul_table.bin └── test_table_approx_conv_2d.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/README.md -------------------------------------------------------------------------------- /gpu_speedup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/gpu_speedup.png -------------------------------------------------------------------------------- /overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/overview.png -------------------------------------------------------------------------------- /tf1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/README.md -------------------------------------------------------------------------------- /tf1/axqconv/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/Makefile -------------------------------------------------------------------------------- /tf1/axqconv/approximate_selector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/approximate_selector.h -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_125K.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_125K.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_12N4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_12N4.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_13QR.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_13QR.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_1446.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_1446.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_14VP.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_14VP.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_150Q.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_150Q.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_17C8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_17C8.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_17KS.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_17KS.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_17QU.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_17QU.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_185Q.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_185Q.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_18DU.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_18DU.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_199Z.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_199Z.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_19DB.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_19DB.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_1AGV.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_1AGV.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_1JFF.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_1JFF.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_2AC.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_2AC.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_2HH.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_2HH.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_2P7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_2P7.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_7C1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_7C1.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_96D.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_96D.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_CK5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_CK5.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_DM1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_DM1.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_EXZ.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_EXZ.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_FTA.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_FTA.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_GS2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_GS2.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_JQQ.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_JQQ.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_JV3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_JV3.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_KEM.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_KEM.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_L40.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_L40.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_NGR.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_NGR.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_PKY.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_PKY.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_QJD.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_QJD.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_QKX.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_QKX.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_Y48.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_Y48.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_YX7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_YX7.c -------------------------------------------------------------------------------- /tf1/axqconv/axmult/mul8u_ZFB.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axmult/mul8u_ZFB.c -------------------------------------------------------------------------------- /tf1/axqconv/axqconv.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/axqconv.cc -------------------------------------------------------------------------------- /tf1/axqconv/generate_header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/generate_header.py -------------------------------------------------------------------------------- /tf1/axqconv/quantization_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/quantization_utils.h -------------------------------------------------------------------------------- /tf1/axqconv/tables.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/tables.cc -------------------------------------------------------------------------------- /tf1/axqconv/tune.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/axqconv/tune.cc -------------------------------------------------------------------------------- /tf1/examples/cifar-10-graphs/resnet_8.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/examples/cifar-10-graphs/resnet_8.pb -------------------------------------------------------------------------------- /tf1/examples/cifar-10-graphs/resnet_8_quant.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/examples/cifar-10-graphs/resnet_8_quant.pb -------------------------------------------------------------------------------- /tf1/examples/cifar-10-graphs/resnet_8_quant_ax.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/examples/cifar-10-graphs/resnet_8_quant_ax.pb -------------------------------------------------------------------------------- /tf1/examples/cifar10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/examples/cifar10.py -------------------------------------------------------------------------------- /tf1/examples/cifar10_ax_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/examples/cifar10_ax_inference.py -------------------------------------------------------------------------------- /tf1/examples/cifar10_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/examples/cifar10_model.py -------------------------------------------------------------------------------- /tf1/examples/cifar10_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/examples/cifar10_utils.py -------------------------------------------------------------------------------- /tf1/examples/generate_cifar10_tfrecords.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf1/examples/generate_cifar10_tfrecords.py -------------------------------------------------------------------------------- /tf2/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/CMakeLists.txt -------------------------------------------------------------------------------- /tf2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/README.md -------------------------------------------------------------------------------- /tf2/cmake/modules/FindSingularityBuilder.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/cmake/modules/FindSingularityBuilder.cmake -------------------------------------------------------------------------------- /tf2/cmake/modules/FindTensorflow.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/cmake/modules/FindTensorflow.cmake -------------------------------------------------------------------------------- /tf2/containers/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/containers/CMakeLists.txt -------------------------------------------------------------------------------- /tf2/containers/tf-approximate-gpu.def.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/containers/tf-approximate-gpu.def.in -------------------------------------------------------------------------------- /tf2/containers/tf-approximate-gpu.sh.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/containers/tf-approximate-gpu.sh.in -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_125K.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_125K.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_12N4.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_12N4.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_13QR.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_13QR.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_1446.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_1446.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_14VP.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_14VP.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_150Q.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_150Q.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_17C8.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_17C8.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_17KS.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_17KS.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_17QU.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_17QU.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_185Q.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_185Q.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_18DU.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_18DU.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_199Z.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_199Z.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_19DB.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_19DB.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_1AGV.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_1AGV.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_1JFF.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_1JFF.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_2AC.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_2AC.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_2HH.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_2HH.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_2P7.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_2P7.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_7C1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_7C1.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_96D.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_96D.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_CK5.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_CK5.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_DM1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_DM1.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_EXZ.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_EXZ.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_FTA.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_FTA.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_GS2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_GS2.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_JQQ.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_JQQ.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_JV3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_JV3.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_KEM.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_KEM.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_L40.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_L40.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_NGR.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_NGR.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_PKY.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_PKY.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_QJD.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_QJD.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_QKX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_QKX.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_Y48.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_Y48.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_YX7.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_YX7.bin -------------------------------------------------------------------------------- /tf2/examples/axmul_8x8/mul8u_ZFB.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/axmul_8x8/mul8u_ZFB.bin -------------------------------------------------------------------------------- /tf2/examples/fake_approx_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/fake_approx_eval.py -------------------------------------------------------------------------------- /tf2/examples/fake_approx_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/examples/fake_approx_train.py -------------------------------------------------------------------------------- /tf2/python/keras/layers/fake_approx_convolutional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/python/keras/layers/fake_approx_convolutional.py -------------------------------------------------------------------------------- /tf2/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/CMakeLists.txt -------------------------------------------------------------------------------- /tf2/src/approx_gemm_functors.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_gemm_functors.h -------------------------------------------------------------------------------- /tf2/src/approx_nn_conv_kernels.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_nn_conv_kernels.cpp -------------------------------------------------------------------------------- /tf2/src/approx_nn_conv_kernels.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_nn_conv_kernels.h -------------------------------------------------------------------------------- /tf2/src/approx_nn_conv_ops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_nn_conv_ops.cpp -------------------------------------------------------------------------------- /tf2/src/approx_nn_conv_ops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_nn_conv_ops.h -------------------------------------------------------------------------------- /tf2/src/approx_nn_conv_ops_gemm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_nn_conv_ops_gemm.cpp -------------------------------------------------------------------------------- /tf2/src/approx_nn_conv_ops_gpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_nn_conv_ops_gpu.h -------------------------------------------------------------------------------- /tf2/src/approx_nn_conv_ops_ref.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_nn_conv_ops_ref.cpp -------------------------------------------------------------------------------- /tf2/src/approx_nn_ops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_nn_ops.cpp -------------------------------------------------------------------------------- /tf2/src/approx_ops_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/approx_ops_types.h -------------------------------------------------------------------------------- /tf2/src/cuda/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/cuda/CMakeLists.txt -------------------------------------------------------------------------------- /tf2/src/cuda/approx_nn_conv_kernels.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/cuda/approx_nn_conv_kernels.cu -------------------------------------------------------------------------------- /tf2/src/cuda/approx_nn_conv_ops.cu: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tf2/src/cuda/approx_nn_conv_ops_gemm.cu: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tf2/src/cuda/approx_ops_types.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/cuda/approx_ops_types.cu -------------------------------------------------------------------------------- /tf2/src/gpu_cuda_alias.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/gpu_cuda_alias.h -------------------------------------------------------------------------------- /tf2/src/gpu_device_functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/gpu_device_functions.h -------------------------------------------------------------------------------- /tf2/src/gpu_kernel_helper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/gpu_kernel_helper.h -------------------------------------------------------------------------------- /tf2/src/gpu_launch_config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/gpu_launch_config.h -------------------------------------------------------------------------------- /tf2/src/gpu_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/src/gpu_utils.h -------------------------------------------------------------------------------- /tf2/test/test_mul_table.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/test/test_mul_table.bin -------------------------------------------------------------------------------- /tf2/test/test_table_approx_conv_2d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehw-fit/tf-approximate/HEAD/tf2/test/test_table_approx_conv_2d.py --------------------------------------------------------------------------------