tinyengine_lib.h 985 B

12345678910111213141516171819202122232425262728293031
  1. /* ----------------------------------------------------------------------
  2. * Project: TinyEngine
  3. * Title: tinyengine_lib.h
  4. *
  5. * Reference papers:
  6. * - MCUNet: Tiny Deep Learning on IoT Device, NeurIPS 2020
  7. * - MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learning, NeurIPS 2021
  8. * - MCUNetV3: On-Device Training Under 256KB Memory, NeurIPS 2022
  9. * Contact authors:
  10. * - Wei-Ming Chen, wmchen@mit.edu
  11. * - Wei-Chen Wang, wweichen@mit.edu
  12. * - Ji Lin, jilin@mit.edu
  13. * - Ligeng Zhu, ligeng@mit.edu
  14. * - Song Han, songhan@mit.edu
  15. *
  16. * Target ISA: ARMv7E-M
  17. * -------------------------------------------------------------------- */
  18. #ifndef TINYENGINE_INCLUDE_TINYENGINE_FUNCTIONLIB_H_
  19. #define TINYENGINE_INCLUDE_TINYENGINE_FUNCTIONLIB_H_
  20. #include <stdio.h>
  21. typedef int8_t q7_t;
  22. typedef uint8_t q8_t;
  23. typedef int16_t q15_t;
  24. typedef uint16_t q16_t;
  25. typedef int32_t q31_t;
  26. typedef uint32_t q32_t;
  27. #endif /* TINYENGINE_INCLUDE_TINYENGINE_FUNCTIONLIB_H_ */