test_functions.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Copyright 2020-2021 Espressif Systems (Shanghai) PTE LTD
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. /* int8_t ops tests */
  15. void esp_nn_add_elementwise_s8_test();
  16. void esp_nn_mul_elementwise_s8_test();
  17. void esp_nn_depthwise_conv_s8_test();
  18. void esp_nn_conv_s8_test();
  19. void esp_nn_avg_pool_s8_test();
  20. void esp_nn_max_pool_s8_test();
  21. void esp_nn_fully_connected_s8_test();
  22. void esp_nn_relu6_s8_test();
  23. void esp_nn_softmax_s8_test();
  24. /* uint8_t ops tests */
  25. void esp_nn_add_elementwise_u8_test();
  26. void esp_nn_depthwise_conv_u8_test();
  27. void esp_nn_conv_u8_test();
  28. void esp_nn_avg_pool_u8_test();
  29. void esp_nn_max_pool_u8_test();
  30. void esp_nn_fully_connected_u8_test();
  31. /* instructions test functions */
  32. void compare_instructions_test();
  33. void arith_instructions_test();
  34. void min_max_instructions_test();
  35. void bitwise_instructions_test();
  36. void load_store_instructions_test();