├── .gitignore ├── LICENSE ├── README.md ├── assets ├── CI_test_suite │ ├── .gitignore │ ├── README.md │ ├── ci_utils.py │ ├── profile_utils.py │ └── test_suite.py └── img │ ├── autotuner.png │ ├── pulp-trainlib-mm-flow.png │ ├── pulp-trainlib-primitives.png │ └── trainlib-deployer.png ├── lib ├── README.md ├── include │ ├── mm_manager_list.txt │ ├── mm_manager_list_fp16.txt │ ├── pulp_act_fp16.h │ ├── pulp_act_fp32.h │ ├── pulp_batchnorm_fp32.h │ ├── pulp_conv2d_fp16.h │ ├── pulp_conv2d_fp32.h │ ├── pulp_conv_dw_fp16.h │ ├── pulp_conv_dw_fp32.h │ ├── pulp_conv_naive_fp16.h │ ├── pulp_conv_naive_fp32.h │ ├── pulp_conv_pw_fp16.h │ ├── pulp_conv_pw_fp32.h │ ├── pulp_dropout_fp16.h │ ├── pulp_dropout_fp32.h │ ├── pulp_embedding_fp16.h │ ├── pulp_im2col_fp16.h │ ├── pulp_im2col_fp32.h │ ├── pulp_instnorm_fp16.h │ ├── pulp_instnorm_fp32.h │ ├── pulp_interpolation_fp16.h │ ├── pulp_interpolation_fp32.h │ ├── pulp_layernorm_fp32.h │ ├── pulp_linear_fp16.h │ ├── pulp_linear_fp32.h │ ├── pulp_losses_fp16.h │ ├── pulp_losses_fp32.h │ ├── pulp_matmul_fp16.h │ ├── pulp_matmul_fp32.h │ ├── pulp_mhsa_fp16.h │ ├── pulp_mhsa_fp32.h │ ├── pulp_nonorm_fp16.h │ ├── pulp_nonorm_fp32.h │ ├── pulp_optimizers_fp16.h │ ├── pulp_optimizers_fp32.h │ ├── pulp_pooling_fp16.h │ ├── pulp_pooling_fp32.h │ ├── pulp_random.h │ ├── pulp_residual_fp16.h │ ├── pulp_residual_fp32.h │ ├── pulp_rmsnorm_fp16.h │ ├── pulp_rmsnorm_fp32.h │ ├── pulp_rnn_fp32.h │ ├── pulp_train.h │ ├── pulp_train_defines.h │ ├── pulp_train_utils_fp16.h │ ├── pulp_train_utils_fp32.h │ ├── pulp_transp_conv2d_fp16.h │ ├── pulp_transp_conv2d_fp32.h │ └── tensor_checkers.h └── sources │ ├── pulp_act_fp16.c │ ├── pulp_act_fp32.c │ ├── pulp_batchnorm_fp32.c │ ├── pulp_conv2d_fp16.c │ ├── pulp_conv2d_fp32.c │ ├── pulp_conv_dw_fp16.c │ ├── pulp_conv_dw_fp32.c │ ├── pulp_conv_naive_fp16.c │ ├── pulp_conv_naive_fp32.c │ ├── pulp_conv_pw_fp16.c │ ├── pulp_conv_pw_fp32.c │ ├── pulp_dropout_fp16.c │ ├── pulp_dropout_fp32.c │ ├── pulp_embedding_fp16.c │ ├── pulp_im2col_fp16.c │ ├── pulp_im2col_fp32.c │ ├── pulp_instnorm_fp16.c │ ├── pulp_instnorm_fp32.c │ ├── pulp_interpolation_fp16.c │ ├── pulp_interpolation_fp32.c │ ├── pulp_layernorm_fp32.c │ ├── pulp_linear_fp16.c │ ├── pulp_linear_fp32.c │ ├── pulp_losses_fp16.c │ ├── pulp_losses_fp32.c │ ├── pulp_matmul_fp16.c │ ├── pulp_matmul_fp32.c │ ├── pulp_mhsa_fp16.c │ ├── pulp_mhsa_fp32.c │ ├── pulp_nonorm_fp16.c │ ├── pulp_nonorm_fp32.c │ ├── pulp_optimizers_fp16.c │ ├── pulp_optimizers_fp32.c │ ├── pulp_pooling_fp16.c │ ├── pulp_pooling_fp32.c │ ├── pulp_random.c │ ├── pulp_residual_fp16.c │ ├── pulp_residual_fp32.c │ ├── pulp_rmsnorm_fp16.c │ ├── pulp_rmsnorm_fp32.c │ ├── pulp_rnn_fp32.c │ ├── pulp_train_utils_fp16.c │ ├── pulp_train_utils_fp32.c │ ├── pulp_transp_conv2d_fp16.c │ └── pulp_transp_conv2d_fp32.c ├── tests ├── .gitignore ├── README.md ├── mm_manager_list.txt ├── mm_manager_list_fp16.txt ├── test_DMA_tensor │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ └── stats.h ├── test_ResNet_CIFAR10 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── pulp-sdk-configs │ │ ├── link.ld │ │ └── pulp.json │ ├── readme.txt │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ └── dump_utils.py ├── test_act │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ ├── SoftmaxFastExp.py │ │ └── dump_utils.py ├── test_batchnorm_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ └── dump_utils.py ├── test_blocktranspose │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ └── stats.h ├── test_broadcast_add │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ └── GM.py ├── test_broadcast_matmul │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ └── GM.py ├── test_conv2d_fp16 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_conv2d_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_conv_pw_dw_fp16 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_conv_pw_dw_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_cordic │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ └── dump_utils.py ├── test_dropout │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ └── dump_utils.py ├── test_gelu_fp16 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ ├── profile_utils.py │ │ └── test_model.py ├── test_im2col │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ └── stats.h ├── test_instnorm_fp16 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── readme.txt │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ └── dump_utils.py ├── test_instnorm_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── readme.txt │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ └── dump_utils.py ├── test_interpolation │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ └── dump_utils.py ├── test_layernorm_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ ├── tensor_checkers.h │ └── utils │ │ ├── GM.py │ │ └── dump_utils.py ├── test_layout_change │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ └── stats.h ├── test_linear_fp16 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_linear_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_losses_fp16 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ ├── dump_utils.py │ │ └── losses.py ├── test_losses_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ ├── dump_utils.py │ │ └── losses.py ├── test_matmul │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── output_eval.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── dump_utils.py │ │ └── profile_fastest.py ├── test_mhsa_fp16 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── SoftmaxFastExp.py │ │ ├── dump_utils.py │ │ ├── mhsa.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_mhsa_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── SoftmaxFastExp.py │ │ ├── dump_utils.py │ │ ├── mhsa.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_mhsa_fp32_partialsoftmax_old │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── mhsa.py │ │ ├── mhsa_partial_softmax.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_mhsa_paper_fp16 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net-args.h │ ├── net.c │ ├── net.h │ ├── net_l1.c │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── SoftmaxFastExp.py │ │ ├── dump_utils.py │ │ ├── mhsa.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_mhsa_paper_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net-args.h │ ├── net.c │ ├── net.h │ ├── net_l1.c │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── SoftmaxFastExp.py │ │ ├── dump_utils.py │ │ ├── mhsa.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_mobilebert_fp16 │ ├── .gitignore │ ├── Makefile │ ├── binarygen.py │ ├── main.c │ ├── net.c │ ├── net.h │ ├── net_args.h │ ├── net_flash.c │ ├── net_l1.c │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ └── dump_utils.py ├── test_mobilebert_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── net_args.h │ ├── net_l1.c │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ └── dump_utils.py ├── test_pad │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ └── stats.h ├── test_pooling │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ └── dump_utils.py ├── test_random │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ └── stats.h ├── test_reduce_mean │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── .gitignore │ │ └── GM.py ├── test_residual │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ ├── utils │ │ ├── GM.py │ │ └── dump_utils.py │ └── variables.h ├── test_rnn_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── profile_optimized.py │ │ ├── profile_sizes.py │ │ └── profile_utils.py ├── test_tiny_vit_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ ├── tensor_checkers.h │ └── utils │ │ ├── .gitignore │ │ ├── GM.py │ │ ├── dump_utils.py │ │ ├── model │ │ ├── Attention.py │ │ ├── BasicLayer.py │ │ ├── Conv2dBN.py │ │ ├── ConvLayer.py │ │ ├── DropPath.py │ │ ├── LocalAttention.py │ │ ├── MBConv.py │ │ ├── Mlp.py │ │ ├── PatchEmbed.py │ │ ├── PatchMerging.py │ │ ├── RotaryEmbedding.py │ │ ├── SinusoidalEmbeddings.py │ │ ├── SparseAttention.py │ │ ├── TinyViT.py │ │ ├── TinyViTBlock.py │ │ └── model_utils.py │ │ ├── model_configs.py │ │ └── writers │ │ ├── component_writers.py │ │ ├── file_writers.py │ │ └── writers_utils.py ├── test_transp_conv2d_fp16 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ ├── dump_utils.py │ │ └── profile_utils.py ├── test_transp_conv2d_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ ├── GM.py │ │ ├── dump_utils.py │ │ └── profile_utils.py ├── test_transpose │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ └── utils │ │ └── GM.py └── test_vit_fp32 │ ├── .gitignore │ ├── Makefile │ ├── main.c │ ├── net.c │ ├── net.h │ ├── stats.h │ ├── tensor_checkers.h │ └── utils │ ├── .gitignore │ ├── GM.py │ ├── dump_utils.py │ ├── torch_to_trainlib.py │ ├── vit_lr │ ├── MultiHeadSelfAttention.py │ ├── PositionWiseFeedForward.py │ ├── PositionalEmbedding1D.py │ ├── README.md │ ├── ResizeProcedure.py │ ├── SoftmaxFastExp.py │ ├── Transformer.py │ ├── TransformerBlock.py │ ├── ViTLR_model.py │ └── vit_lr_utils.py │ └── writers │ ├── component_writers.py │ └── file_writers.py └── tools ├── .gitignore ├── AutoTuner ├── autotuner.py ├── server_execution_files │ ├── run_regression.sh │ └── sw │ │ └── bwruntest.py └── tiling_utils.py ├── README.md ├── TrainLib_Deployer ├── TrainLib_Deployer.py └── deployer_utils │ ├── DNN_Composer.py │ ├── DNN_Reader.py │ ├── GM_templates.py │ ├── deployment_utils.py │ ├── deployment_utils_double_buffer.py │ ├── deployment_utils_single_buffer.py │ ├── net_templates.py │ ├── net_templates_double_buffer.py │ ├── net_templates_single_buffer.py │ └── srcfiles │ ├── dump_utils.py │ ├── main.c │ └── stats.h └── memory_footprint_tool └── memory_footprint_eval.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/README.md -------------------------------------------------------------------------------- /assets/CI_test_suite/.gitignore: -------------------------------------------------------------------------------- 1 | /__pycache__/ 2 | test_suite_results.txt 3 | temp/ -------------------------------------------------------------------------------- /assets/CI_test_suite/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/assets/CI_test_suite/README.md -------------------------------------------------------------------------------- /assets/CI_test_suite/ci_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/assets/CI_test_suite/ci_utils.py -------------------------------------------------------------------------------- /assets/CI_test_suite/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/assets/CI_test_suite/profile_utils.py -------------------------------------------------------------------------------- /assets/CI_test_suite/test_suite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/assets/CI_test_suite/test_suite.py -------------------------------------------------------------------------------- /assets/img/autotuner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/assets/img/autotuner.png -------------------------------------------------------------------------------- /assets/img/pulp-trainlib-mm-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/assets/img/pulp-trainlib-mm-flow.png -------------------------------------------------------------------------------- /assets/img/pulp-trainlib-primitives.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/assets/img/pulp-trainlib-primitives.png -------------------------------------------------------------------------------- /assets/img/trainlib-deployer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/assets/img/trainlib-deployer.png -------------------------------------------------------------------------------- /lib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/README.md -------------------------------------------------------------------------------- /lib/include/mm_manager_list.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/mm_manager_list.txt -------------------------------------------------------------------------------- /lib/include/mm_manager_list_fp16.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/mm_manager_list_fp16.txt -------------------------------------------------------------------------------- /lib/include/pulp_act_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_act_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_act_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_act_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_batchnorm_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_batchnorm_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_conv2d_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_conv2d_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_conv2d_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_conv2d_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_conv_dw_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_conv_dw_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_conv_dw_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_conv_dw_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_conv_naive_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_conv_naive_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_conv_naive_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_conv_naive_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_conv_pw_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_conv_pw_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_conv_pw_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_conv_pw_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_dropout_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_dropout_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_dropout_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_dropout_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_embedding_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_embedding_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_im2col_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_im2col_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_im2col_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_im2col_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_instnorm_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_instnorm_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_instnorm_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_instnorm_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_interpolation_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_interpolation_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_interpolation_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_interpolation_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_layernorm_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_layernorm_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_linear_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_linear_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_linear_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_linear_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_losses_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_losses_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_losses_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_losses_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_matmul_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_matmul_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_matmul_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_matmul_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_mhsa_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_mhsa_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_mhsa_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_mhsa_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_nonorm_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_nonorm_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_nonorm_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_nonorm_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_optimizers_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_optimizers_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_optimizers_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_optimizers_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_pooling_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_pooling_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_pooling_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_pooling_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_random.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_random.h -------------------------------------------------------------------------------- /lib/include/pulp_residual_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_residual_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_residual_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_residual_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_rmsnorm_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_rmsnorm_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_rmsnorm_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_rmsnorm_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_rnn_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_rnn_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_train.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_train.h -------------------------------------------------------------------------------- /lib/include/pulp_train_defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_train_defines.h -------------------------------------------------------------------------------- /lib/include/pulp_train_utils_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_train_utils_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_train_utils_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_train_utils_fp32.h -------------------------------------------------------------------------------- /lib/include/pulp_transp_conv2d_fp16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_transp_conv2d_fp16.h -------------------------------------------------------------------------------- /lib/include/pulp_transp_conv2d_fp32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/pulp_transp_conv2d_fp32.h -------------------------------------------------------------------------------- /lib/include/tensor_checkers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/include/tensor_checkers.h -------------------------------------------------------------------------------- /lib/sources/pulp_act_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_act_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_act_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_act_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_batchnorm_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_batchnorm_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_conv2d_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_conv2d_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_conv2d_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_conv2d_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_conv_dw_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_conv_dw_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_conv_dw_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_conv_dw_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_conv_naive_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_conv_naive_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_conv_naive_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_conv_naive_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_conv_pw_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_conv_pw_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_conv_pw_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_conv_pw_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_dropout_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_dropout_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_dropout_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_dropout_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_embedding_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_embedding_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_im2col_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_im2col_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_im2col_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_im2col_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_instnorm_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_instnorm_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_instnorm_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_instnorm_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_interpolation_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_interpolation_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_interpolation_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_interpolation_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_layernorm_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_layernorm_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_linear_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_linear_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_linear_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_linear_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_losses_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_losses_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_losses_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_losses_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_matmul_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_matmul_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_matmul_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_matmul_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_mhsa_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_mhsa_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_mhsa_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_mhsa_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_nonorm_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_nonorm_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_nonorm_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_nonorm_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_optimizers_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_optimizers_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_optimizers_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_optimizers_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_pooling_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_pooling_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_pooling_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_pooling_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_random.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_random.c -------------------------------------------------------------------------------- /lib/sources/pulp_residual_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_residual_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_residual_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_residual_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_rmsnorm_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_rmsnorm_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_rmsnorm_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_rmsnorm_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_rnn_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_rnn_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_train_utils_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_train_utils_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_train_utils_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_train_utils_fp32.c -------------------------------------------------------------------------------- /lib/sources/pulp_transp_conv2d_fp16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_transp_conv2d_fp16.c -------------------------------------------------------------------------------- /lib/sources/pulp_transp_conv2d_fp32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/lib/sources/pulp_transp_conv2d_fp32.c -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/.gitignore -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/mm_manager_list.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/mm_manager_list.txt -------------------------------------------------------------------------------- /tests/mm_manager_list_fp16.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/mm_manager_list_fp16.txt -------------------------------------------------------------------------------- /tests/test_DMA_tensor/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt -------------------------------------------------------------------------------- /tests/test_DMA_tensor/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_DMA_tensor/Makefile -------------------------------------------------------------------------------- /tests/test_DMA_tensor/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_DMA_tensor/main.c -------------------------------------------------------------------------------- /tests/test_DMA_tensor/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_DMA_tensor/net.c -------------------------------------------------------------------------------- /tests/test_DMA_tensor/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_DMA_tensor/net.h -------------------------------------------------------------------------------- /tests/test_DMA_tensor/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_DMA_tensor/stats.h -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | cifar* 3 | log.csv 4 | init-defines.h 5 | io_data.h 6 | -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/Makefile -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/main.c -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/net.c -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/net.h -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/pulp-sdk-configs/link.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/pulp-sdk-configs/link.ld -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/pulp-sdk-configs/pulp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/pulp-sdk-configs/pulp.json -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/readme.txt -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/stats.h -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/utils/GM.py -------------------------------------------------------------------------------- /tests/test_ResNet_CIFAR10/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_ResNet_CIFAR10/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_act/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_act/.gitignore -------------------------------------------------------------------------------- /tests/test_act/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_act/Makefile -------------------------------------------------------------------------------- /tests/test_act/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_act/main.c -------------------------------------------------------------------------------- /tests/test_act/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_act/net.c -------------------------------------------------------------------------------- /tests/test_act/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_act/net.h -------------------------------------------------------------------------------- /tests/test_act/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_act/stats.h -------------------------------------------------------------------------------- /tests/test_act/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_act/utils/GM.py -------------------------------------------------------------------------------- /tests/test_act/utils/SoftmaxFastExp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_act/utils/SoftmaxFastExp.py -------------------------------------------------------------------------------- /tests/test_act/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_act/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_batchnorm_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_batchnorm_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_batchnorm_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_batchnorm_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_batchnorm_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_batchnorm_fp32/main.c -------------------------------------------------------------------------------- /tests/test_batchnorm_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_batchnorm_fp32/net.c -------------------------------------------------------------------------------- /tests/test_batchnorm_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_batchnorm_fp32/net.h -------------------------------------------------------------------------------- /tests/test_batchnorm_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_batchnorm_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_batchnorm_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_batchnorm_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_batchnorm_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_batchnorm_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_blocktranspose/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt -------------------------------------------------------------------------------- /tests/test_blocktranspose/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_blocktranspose/Makefile -------------------------------------------------------------------------------- /tests/test_blocktranspose/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_blocktranspose/main.c -------------------------------------------------------------------------------- /tests/test_blocktranspose/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_blocktranspose/net.c -------------------------------------------------------------------------------- /tests/test_blocktranspose/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_blocktranspose/net.h -------------------------------------------------------------------------------- /tests/test_blocktranspose/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_blocktranspose/stats.h -------------------------------------------------------------------------------- /tests/test_broadcast_add/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt 3 | test_data.h 4 | -------------------------------------------------------------------------------- /tests/test_broadcast_add/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_add/Makefile -------------------------------------------------------------------------------- /tests/test_broadcast_add/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_add/main.c -------------------------------------------------------------------------------- /tests/test_broadcast_add/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_add/net.c -------------------------------------------------------------------------------- /tests/test_broadcast_add/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_add/net.h -------------------------------------------------------------------------------- /tests/test_broadcast_add/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_add/stats.h -------------------------------------------------------------------------------- /tests/test_broadcast_add/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_add/utils/GM.py -------------------------------------------------------------------------------- /tests/test_broadcast_matmul/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_matmul/.gitignore -------------------------------------------------------------------------------- /tests/test_broadcast_matmul/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_matmul/Makefile -------------------------------------------------------------------------------- /tests/test_broadcast_matmul/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_matmul/main.c -------------------------------------------------------------------------------- /tests/test_broadcast_matmul/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_matmul/net.c -------------------------------------------------------------------------------- /tests/test_broadcast_matmul/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_matmul/net.h -------------------------------------------------------------------------------- /tests/test_broadcast_matmul/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_matmul/stats.h -------------------------------------------------------------------------------- /tests/test_broadcast_matmul/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | -------------------------------------------------------------------------------- /tests/test_broadcast_matmul/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_broadcast_matmul/utils/GM.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/.gitignore -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/main.c -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/net.c -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/net.h -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp16/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp16/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/main.c -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/net.c -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/net.h -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_conv2d_fp32/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv2d_fp32/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/.gitignore -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/main.c -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/net.c -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/net.h -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp16/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp16/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/main.c -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/net.c -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/net.h -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_conv_pw_dw_fp32/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_conv_pw_dw_fp32/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_cordic/.gitignore: -------------------------------------------------------------------------------- 1 | cordic_data.h 2 | log.txt 3 | BUILD/ -------------------------------------------------------------------------------- /tests/test_cordic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_cordic/Makefile -------------------------------------------------------------------------------- /tests/test_cordic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_cordic/main.c -------------------------------------------------------------------------------- /tests/test_cordic/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_cordic/net.c -------------------------------------------------------------------------------- /tests/test_cordic/net.h: -------------------------------------------------------------------------------- 1 | void net_step(); 2 | -------------------------------------------------------------------------------- /tests/test_cordic/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_cordic/stats.h -------------------------------------------------------------------------------- /tests/test_cordic/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_cordic/utils/GM.py -------------------------------------------------------------------------------- /tests/test_cordic/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_cordic/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_dropout/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt 3 | dropout_data.h 4 | net_args.h -------------------------------------------------------------------------------- /tests/test_dropout/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_dropout/Makefile -------------------------------------------------------------------------------- /tests/test_dropout/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_dropout/main.c -------------------------------------------------------------------------------- /tests/test_dropout/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_dropout/net.c -------------------------------------------------------------------------------- /tests/test_dropout/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_dropout/net.h -------------------------------------------------------------------------------- /tests/test_dropout/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_dropout/stats.h -------------------------------------------------------------------------------- /tests/test_dropout/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_dropout/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_dropout/utils/GM.py -------------------------------------------------------------------------------- /tests/test_dropout/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_dropout/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_gelu_fp16/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/.gitignore -------------------------------------------------------------------------------- /tests/test_gelu_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_gelu_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/main.c -------------------------------------------------------------------------------- /tests/test_gelu_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/net.c -------------------------------------------------------------------------------- /tests/test_gelu_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/net.h -------------------------------------------------------------------------------- /tests/test_gelu_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_gelu_fp16/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_gelu_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_gelu_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_gelu_fp16/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_gelu_fp16/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_gelu_fp16/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_gelu_fp16/utils/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_gelu_fp16/utils/test_model.py -------------------------------------------------------------------------------- /tests/test_im2col/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt -------------------------------------------------------------------------------- /tests/test_im2col/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_im2col/Makefile -------------------------------------------------------------------------------- /tests/test_im2col/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_im2col/main.c -------------------------------------------------------------------------------- /tests/test_im2col/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_im2col/net.c -------------------------------------------------------------------------------- /tests/test_im2col/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_im2col/net.h -------------------------------------------------------------------------------- /tests/test_im2col/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_im2col/stats.h -------------------------------------------------------------------------------- /tests/test_instnorm_fp16/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp16/.gitignore -------------------------------------------------------------------------------- /tests/test_instnorm_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_instnorm_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp16/main.c -------------------------------------------------------------------------------- /tests/test_instnorm_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp16/net.c -------------------------------------------------------------------------------- /tests/test_instnorm_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp16/net.h -------------------------------------------------------------------------------- /tests/test_instnorm_fp16/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp16/readme.txt -------------------------------------------------------------------------------- /tests/test_instnorm_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_instnorm_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_instnorm_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_instnorm_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_instnorm_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_instnorm_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp32/main.c -------------------------------------------------------------------------------- /tests/test_instnorm_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp32/net.c -------------------------------------------------------------------------------- /tests/test_instnorm_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp32/net.h -------------------------------------------------------------------------------- /tests/test_instnorm_fp32/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp32/readme.txt -------------------------------------------------------------------------------- /tests/test_instnorm_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_instnorm_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_instnorm_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_instnorm_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_interpolation/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt 3 | intp_data.h 4 | net_args.h -------------------------------------------------------------------------------- /tests/test_interpolation/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_interpolation/Makefile -------------------------------------------------------------------------------- /tests/test_interpolation/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_interpolation/main.c -------------------------------------------------------------------------------- /tests/test_interpolation/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_interpolation/net.c -------------------------------------------------------------------------------- /tests/test_interpolation/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_interpolation/net.h -------------------------------------------------------------------------------- /tests/test_interpolation/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_interpolation/stats.h -------------------------------------------------------------------------------- /tests/test_interpolation/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_interpolation/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_interpolation/utils/GM.py -------------------------------------------------------------------------------- /tests/test_interpolation/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_interpolation/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_layernorm_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layernorm_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_layernorm_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layernorm_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_layernorm_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layernorm_fp32/main.c -------------------------------------------------------------------------------- /tests/test_layernorm_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layernorm_fp32/net.c -------------------------------------------------------------------------------- /tests/test_layernorm_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layernorm_fp32/net.h -------------------------------------------------------------------------------- /tests/test_layernorm_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layernorm_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_layernorm_fp32/tensor_checkers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layernorm_fp32/tensor_checkers.h -------------------------------------------------------------------------------- /tests/test_layernorm_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layernorm_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_layernorm_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layernorm_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_layout_change/.gitignore: -------------------------------------------------------------------------------- 1 | log.txt 2 | BUILD/ -------------------------------------------------------------------------------- /tests/test_layout_change/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layout_change/Makefile -------------------------------------------------------------------------------- /tests/test_layout_change/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layout_change/main.c -------------------------------------------------------------------------------- /tests/test_layout_change/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layout_change/net.c -------------------------------------------------------------------------------- /tests/test_layout_change/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layout_change/net.h -------------------------------------------------------------------------------- /tests/test_layout_change/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_layout_change/stats.h -------------------------------------------------------------------------------- /tests/test_linear_fp16/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/.gitignore -------------------------------------------------------------------------------- /tests/test_linear_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_linear_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/main.c -------------------------------------------------------------------------------- /tests/test_linear_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/net.c -------------------------------------------------------------------------------- /tests/test_linear_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/net.h -------------------------------------------------------------------------------- /tests/test_linear_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_linear_fp16/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_linear_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_linear_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_linear_fp16/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_linear_fp16/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_linear_fp16/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp16/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_linear_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_linear_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_linear_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/main.c -------------------------------------------------------------------------------- /tests/test_linear_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/net.c -------------------------------------------------------------------------------- /tests/test_linear_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/net.h -------------------------------------------------------------------------------- /tests/test_linear_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_linear_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_linear_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_linear_fp32/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_linear_fp32/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_linear_fp32/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_linear_fp32/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_losses_fp16/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt 3 | loss_values.h -------------------------------------------------------------------------------- /tests/test_losses_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_losses_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp16/main.c -------------------------------------------------------------------------------- /tests/test_losses_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp16/net.c -------------------------------------------------------------------------------- /tests/test_losses_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp16/net.h -------------------------------------------------------------------------------- /tests/test_losses_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_losses_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_losses_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_losses_fp16/utils/losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp16/utils/losses.py -------------------------------------------------------------------------------- /tests/test_losses_fp32/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt 3 | loss_values.h -------------------------------------------------------------------------------- /tests/test_losses_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_losses_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp32/main.c -------------------------------------------------------------------------------- /tests/test_losses_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp32/net.c -------------------------------------------------------------------------------- /tests/test_losses_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp32/net.h -------------------------------------------------------------------------------- /tests/test_losses_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_losses_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_losses_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_losses_fp32/utils/losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_losses_fp32/utils/losses.py -------------------------------------------------------------------------------- /tests/test_matmul/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/.gitignore -------------------------------------------------------------------------------- /tests/test_matmul/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/Makefile -------------------------------------------------------------------------------- /tests/test_matmul/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/main.c -------------------------------------------------------------------------------- /tests/test_matmul/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/net.c -------------------------------------------------------------------------------- /tests/test_matmul/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/net.h -------------------------------------------------------------------------------- /tests/test_matmul/output_eval.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/output_eval.h -------------------------------------------------------------------------------- /tests/test_matmul/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/stats.h -------------------------------------------------------------------------------- /tests/test_matmul/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_matmul/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/utils/GM.py -------------------------------------------------------------------------------- /tests/test_matmul/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_matmul/utils/profile_fastest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_matmul/utils/profile_fastest.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/.gitignore -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/main.c -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/net.c -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/net.h -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/utils/SoftmaxFastExp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/utils/SoftmaxFastExp.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/utils/mhsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/utils/mhsa.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp16/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp16/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/main.c -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/net.c -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/net.h -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/utils/SoftmaxFastExp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/utils/SoftmaxFastExp.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/utils/mhsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/utils/mhsa.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/.gitignore -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/Makefile -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/main.c -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/net.c -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/net.h -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/stats.h -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/utils/GM.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/utils/mhsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/utils/mhsa.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/utils/mhsa_partial_softmax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/utils/mhsa_partial_softmax.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_mhsa_fp32_partialsoftmax_old/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_fp32_partialsoftmax_old/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/.gitignore -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/main.c -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/net-args.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/net-args.h -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/net.c -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/net.h -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/net_l1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/net_l1.c -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/utils/SoftmaxFastExp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/utils/SoftmaxFastExp.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/utils/mhsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/utils/mhsa.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp16/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp16/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/main.c -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/net-args.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/net-args.h -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/net.c -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/net.h -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/net_l1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/net_l1.c -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/utils/SoftmaxFastExp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/utils/SoftmaxFastExp.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/utils/mhsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/utils/mhsa.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_mhsa_paper_fp32/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mhsa_paper_fp32/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/.gitignore -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/binarygen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/binarygen.py -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/main.c -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/net.c -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/net.h -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/net_args.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/net_args.h -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/net_flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/net_flash.c -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/net_l1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/net_l1.c -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/utils/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/utils/.gitignore -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_mobilebert_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/main.c -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/net.c -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/net.h -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/net_args.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/net_args.h -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/net_l1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/net_l1.c -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/utils/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/utils/.gitignore -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_mobilebert_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_mobilebert_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_pad/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt -------------------------------------------------------------------------------- /tests/test_pad/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pad/Makefile -------------------------------------------------------------------------------- /tests/test_pad/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pad/main.c -------------------------------------------------------------------------------- /tests/test_pad/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pad/net.c -------------------------------------------------------------------------------- /tests/test_pad/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pad/net.h -------------------------------------------------------------------------------- /tests/test_pad/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pad/stats.h -------------------------------------------------------------------------------- /tests/test_pooling/.gitignore: -------------------------------------------------------------------------------- 1 | init_defines.h 2 | pool_data.h 3 | log.txt 4 | dis.S 5 | BUILD/ -------------------------------------------------------------------------------- /tests/test_pooling/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pooling/Makefile -------------------------------------------------------------------------------- /tests/test_pooling/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pooling/main.c -------------------------------------------------------------------------------- /tests/test_pooling/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pooling/net.c -------------------------------------------------------------------------------- /tests/test_pooling/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pooling/net.h -------------------------------------------------------------------------------- /tests/test_pooling/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pooling/stats.h -------------------------------------------------------------------------------- /tests/test_pooling/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pooling/utils/GM.py -------------------------------------------------------------------------------- /tests/test_pooling/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_pooling/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_random/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt -------------------------------------------------------------------------------- /tests/test_random/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_random/Makefile -------------------------------------------------------------------------------- /tests/test_random/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_random/main.c -------------------------------------------------------------------------------- /tests/test_random/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_random/net.c -------------------------------------------------------------------------------- /tests/test_random/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_random/net.h -------------------------------------------------------------------------------- /tests/test_random/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_random/stats.h -------------------------------------------------------------------------------- /tests/test_reduce_mean/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_reduce_mean/.gitignore -------------------------------------------------------------------------------- /tests/test_reduce_mean/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_reduce_mean/Makefile -------------------------------------------------------------------------------- /tests/test_reduce_mean/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_reduce_mean/main.c -------------------------------------------------------------------------------- /tests/test_reduce_mean/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_reduce_mean/net.c -------------------------------------------------------------------------------- /tests/test_reduce_mean/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_reduce_mean/net.h -------------------------------------------------------------------------------- /tests/test_reduce_mean/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_reduce_mean/stats.h -------------------------------------------------------------------------------- /tests/test_reduce_mean/utils/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | -------------------------------------------------------------------------------- /tests/test_reduce_mean/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_reduce_mean/utils/GM.py -------------------------------------------------------------------------------- /tests/test_residual/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | data.h 3 | init_defines.h -------------------------------------------------------------------------------- /tests/test_residual/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_residual/Makefile -------------------------------------------------------------------------------- /tests/test_residual/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_residual/main.c -------------------------------------------------------------------------------- /tests/test_residual/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_residual/net.c -------------------------------------------------------------------------------- /tests/test_residual/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_residual/net.h -------------------------------------------------------------------------------- /tests/test_residual/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_residual/stats.h -------------------------------------------------------------------------------- /tests/test_residual/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_residual/utils/GM.py -------------------------------------------------------------------------------- /tests/test_residual/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_residual/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_residual/variables.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_residual/variables.h -------------------------------------------------------------------------------- /tests/test_rnn_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_rnn_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_rnn_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/main.c -------------------------------------------------------------------------------- /tests/test_rnn_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/net.c -------------------------------------------------------------------------------- /tests/test_rnn_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/net.h -------------------------------------------------------------------------------- /tests/test_rnn_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_rnn_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_rnn_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_rnn_fp32/utils/profile_optimized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/utils/profile_optimized.py -------------------------------------------------------------------------------- /tests/test_rnn_fp32/utils/profile_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/utils/profile_sizes.py -------------------------------------------------------------------------------- /tests/test_rnn_fp32/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_rnn_fp32/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/main.c -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/net.c -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/net.h -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/tensor_checkers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/tensor_checkers.h -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/.gitignore: -------------------------------------------------------------------------------- 1 | sample_data 2 | -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/Attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/Attention.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/BasicLayer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/BasicLayer.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/Conv2dBN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/Conv2dBN.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/ConvLayer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/ConvLayer.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/DropPath.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/DropPath.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/LocalAttention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/LocalAttention.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/MBConv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/MBConv.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/Mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/Mlp.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/PatchEmbed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/PatchEmbed.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/PatchMerging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/PatchMerging.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/RotaryEmbedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/RotaryEmbedding.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/SinusoidalEmbeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/SinusoidalEmbeddings.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/SparseAttention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/SparseAttention.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/TinyViT.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/TinyViT.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/TinyViTBlock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/TinyViTBlock.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model/model_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model/model_utils.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/model_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/model_configs.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/writers/component_writers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/writers/component_writers.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/writers/file_writers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/writers/file_writers.py -------------------------------------------------------------------------------- /tests/test_tiny_vit_fp32/utils/writers/writers_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_tiny_vit_fp32/utils/writers/writers_utils.py -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp16/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp16/.gitignore -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp16/Makefile -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp16/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp16/main.c -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp16/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp16/net.c -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp16/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp16/net.h -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp16/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp16/stats.h -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp16/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp16/utils/GM.py -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp16/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp16/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp16/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp16/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp32/main.c -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp32/net.c -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp32/net.h -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_transp_conv2d_fp32/utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transp_conv2d_fp32/utils/profile_utils.py -------------------------------------------------------------------------------- /tests/test_transpose/.gitignore: -------------------------------------------------------------------------------- 1 | BUILD/ 2 | log.txt 3 | test_data.h 4 | -------------------------------------------------------------------------------- /tests/test_transpose/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transpose/Makefile -------------------------------------------------------------------------------- /tests/test_transpose/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transpose/main.c -------------------------------------------------------------------------------- /tests/test_transpose/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transpose/net.c -------------------------------------------------------------------------------- /tests/test_transpose/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transpose/net.h -------------------------------------------------------------------------------- /tests/test_transpose/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transpose/stats.h -------------------------------------------------------------------------------- /tests/test_transpose/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_transpose/utils/GM.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/.gitignore -------------------------------------------------------------------------------- /tests/test_vit_fp32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/Makefile -------------------------------------------------------------------------------- /tests/test_vit_fp32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/main.c -------------------------------------------------------------------------------- /tests/test_vit_fp32/net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/net.c -------------------------------------------------------------------------------- /tests/test_vit_fp32/net.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/net.h -------------------------------------------------------------------------------- /tests/test_vit_fp32/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/stats.h -------------------------------------------------------------------------------- /tests/test_vit_fp32/tensor_checkers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/tensor_checkers.h -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/.gitignore: -------------------------------------------------------------------------------- 1 | sample_data 2 | -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/GM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/GM.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/dump_utils.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/torch_to_trainlib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/torch_to_trainlib.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/MultiHeadSelfAttention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/vit_lr/MultiHeadSelfAttention.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/PositionWiseFeedForward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/vit_lr/PositionWiseFeedForward.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/PositionalEmbedding1D.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/vit_lr/PositionalEmbedding1D.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/README.md: -------------------------------------------------------------------------------- 1 | ## Adapted from [here](https://github.com/Dequino/ViT-LR). -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/ResizeProcedure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/vit_lr/ResizeProcedure.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/SoftmaxFastExp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/vit_lr/SoftmaxFastExp.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/Transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/vit_lr/Transformer.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/TransformerBlock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/vit_lr/TransformerBlock.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/ViTLR_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/vit_lr/ViTLR_model.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/vit_lr/vit_lr_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/vit_lr/vit_lr_utils.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/writers/component_writers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/writers/component_writers.py -------------------------------------------------------------------------------- /tests/test_vit_fp32/utils/writers/file_writers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tests/test_vit_fp32/utils/writers/file_writers.py -------------------------------------------------------------------------------- /tools/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/.gitignore -------------------------------------------------------------------------------- /tools/AutoTuner/autotuner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/AutoTuner/autotuner.py -------------------------------------------------------------------------------- /tools/AutoTuner/server_execution_files/run_regression.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/AutoTuner/server_execution_files/run_regression.sh -------------------------------------------------------------------------------- /tools/AutoTuner/server_execution_files/sw/bwruntest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/AutoTuner/server_execution_files/sw/bwruntest.py -------------------------------------------------------------------------------- /tools/AutoTuner/tiling_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/AutoTuner/tiling_utils.py -------------------------------------------------------------------------------- /tools/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/README.md -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/TrainLib_Deployer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/TrainLib_Deployer.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/DNN_Composer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/DNN_Composer.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/DNN_Reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/DNN_Reader.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/GM_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/GM_templates.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/deployment_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/deployment_utils.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/deployment_utils_double_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/deployment_utils_double_buffer.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/deployment_utils_single_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/deployment_utils_single_buffer.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/net_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/net_templates.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/net_templates_double_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/net_templates_double_buffer.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/net_templates_single_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/net_templates_single_buffer.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/srcfiles/dump_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/srcfiles/dump_utils.py -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/srcfiles/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/srcfiles/main.c -------------------------------------------------------------------------------- /tools/TrainLib_Deployer/deployer_utils/srcfiles/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/TrainLib_Deployer/deployer_utils/srcfiles/stats.h -------------------------------------------------------------------------------- /tools/memory_footprint_tool/memory_footprint_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pulp-platform/pulp-trainlib/HEAD/tools/memory_footprint_tool/memory_footprint_eval.py --------------------------------------------------------------------------------