1. 02 3月, 2022 1 次提交
  2. 01 3月, 2022 1 次提交
  3. 23 2月, 2022 1 次提交
  4. 22 2月, 2022 1 次提交
  5. 20 2月, 2022 1 次提交
  6. 19 2月, 2022 2 次提交
  7. 18 2月, 2022 2 次提交
  8. 17 2月, 2022 4 次提交
  9. 16 2月, 2022 4 次提交
  10. 15 2月, 2022 1 次提交
  11. 12 2月, 2022 2 次提交
  12. 11 2月, 2022 2 次提交
  13. 08 2月, 2022 1 次提交
  14. 05 2月, 2022 1 次提交
  15. 04 2月, 2022 3 次提交
    • D
      Temporarily disable the global default enforcement of pairing of... · 65884586
      deqiangc 提交于
      Temporarily disable the global default enforcement of pairing of AllocateTempXxx/DeallocateTemp  (#908)
      
      * Temporarily disable the global enforcement of pairing of AllocateTemp/DeallocateTempXxx
      
      Temporarily disable the global enforcement of pairing of AllocateTemp/DeallocateTempXxx
      because there are some internal test that is using KernelRunner.
      
      BUG=https://b/217818824
      
      * Disable default global enforcing of pair of AllocateTempXxx/DeallocateTemp
      
      * Revert xtensa svdf change
      65884586
    • D
    • D
      Enforce the pairing of AllocateTempXxx and DeallocateTemp api in all kernels (#906) · 17c59642
      deqiangc 提交于
      * Clean up GetInput/GetOutput api usage in squeeze, transpose, strided_slice op
      
      Clean up api usage in squeeze, transpose, strided_slice op by replacing
      GetInput/GetOutput with AllocateTempXXX/DeallocateTempXXX in micro
      context api in squeeze, transpose, strided_slice op
      
      Additionally, squeeze and transpose is using TfLiteTensor in Invoke,  which
      is againts the recommendation and unnecessary. Replace them with the usage of
      TfLiteEvalTensor.
      
      This is a continuation of pr #894 to improve both readability and safety of getting tensors.
      
      The next step is to clean the GetInput/GetOutput in test_helpers.cc
      before enforcing the pair of AllocateTempXXX and DeallocateTemp globally.
      
      BUG=https://b/209453859
      
      * Fix bluepill test: need to explictly use int32_t so that the right templated typeToTfLiteType is chosen and return the right type
      
      * Remove redundant include
      
      * Clean GetInput/GetOutput api usage in test_helpers
      
      * Enforce the pairing of AllocateTemp/DeallocateTemp for all kernel tests
      
      * Fix svdf/full_connected in cmsis_nn variant and conv in xtensa variant
      
      * Fix xtensa
      
      * Fix depthwise_conv in xtensa
      
      * Fix xtensa again
      
      * Fix compilation. Xtensa local test pass
      
      * Fix xtensa/full_connected not showing up locally
      
      * update cmsis_nn svdf
      
      * Fix pooling for hifi5
      
      * hif5 errors seen only on server
      
      * Fix hifi5 again
      17c59642
  16. 03 2月, 2022 1 次提交
  17. 02 2月, 2022 6 次提交
  18. 01 2月, 2022 2 次提交
  19. 28 1月, 2022 4 次提交
    • N
      Create PAD integration tests for SEANet. (#887) · 746f880a
      Nat Jeffries 提交于
      * Create pad integration tests for SEANet.
      
      Modify generation script to include PAD operator and fix issue where shapes were being modified. Size > 2 is still valid since all weights for conv and transpose_conv have shapes with length 4.
      
      * Revert format changes removing newlines in generat_per_layer_tests.py
      746f880a
    • T
      Add unit tests for 16-bit tanh and logistic kernels (#882) · 9b938760
      Ting Yan 提交于
      * Add unit tests for 16-bit tanh and logistic kernels
      
      * Disable int16 logistic test for xtensa
      
      Xtensa optimized logistic kernel does not support int16 yet.
      Disable the test for it for now.
      
      * Use reference int16 logistic for xtensa and update test accordingly
      
      * Document source of test vectors and expected results
      9b938760
    • J
      adding pandas and matplotlib (#878) · b6fd2cd8
      jwithers 提交于
      * adding pandas and matplotlib
      
      * updating container tag to latest
      
      * fixing formatting issues that have been slipping through older ci setup
      Co-authored-by: Ndeqiangc <86809673+deqiangc@users.noreply.github.com>
      b6fd2cd8
    • D
      Add AllocateTempInputTensor to replace GetInput() and Add... · 7da3703b
      deqiangc 提交于
      Add AllocateTempInputTensor to replace GetInput() and Add AllocateTempOutputTensor to replace GetOutput() (#885)
      
      This corresonds to internal cl/424648139
      
      Add more informative api AllocateTempInputTensor to replace GetInput()
      and AllocateTempOutputTensor to replace GetOutput(). These two new API
      call out the fact that what GetInput and GetOutput returns are in
      temporary buffer and  need to call DeallocateTempTensor() afterwards.
      
      IF operator is the first OP to use these APIs.
      
      BUG=https://b/209453859Co-authored-by: Nmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      7da3703b