1. 17 3月, 2022 1 次提交
  2. 16 3月, 2022 1 次提交
  3. 15 3月, 2022 2 次提交
  4. 11 3月, 2022 3 次提交
  5. 10 3月, 2022 2 次提交
  6. 09 3月, 2022 4 次提交
  7. 08 3月, 2022 3 次提交
  8. 06 3月, 2022 1 次提交
  9. 05 3月, 2022 1 次提交
  10. 03 3月, 2022 2 次提交
  11. 02 3月, 2022 5 次提交
    • N
      Add method to reset resource variables. (#948) · 47c8748c
      Nat Jeffries 提交于
      * Add method to reset resource variables.
      
      Call this method from ResetVariableTensors.
      
      * handle case where resource_variables_ is nullptr in micro_graph
      47c8748c
    • N
      Plan memory across subgraphs. (#947) · 8c41f960
      Nat Jeffries 提交于
      Walk the graph with a monotonically increasing allocation context count, entering all possible subgraphs invoked by each control flow operator. Increase allocation context count each time  new node or subgraph is entered.
      
      Clean up and refactor some tensor lifetime code.
      
      This change increases arena requirements for some models, especially those with >1 subgraph. This is because the old subgraph memory allocation scheme was unsafe, with tensors's lifetime overlapping in a dangerous way between subgraphs. For models where each subgraph is only invoked from a single control flow operator (this is true for all graphs currently supported by TFLM), this new allocation scheme is optimal while maintaining lifetime guarantees across all tensors in each model.
      8c41f960
    • D
      Ensure all allocate temp must be paired with decallocate (#944) · 05b427e1
      deqiangc 提交于
      * Ensure all allocate temp must be paired with decallocate
      
      After this CL, there will be an error if not all temp buffers
      are freed before ResetTempAllocations().  This is a way to enforce
      the TFLM's new paradigm: all AllocateTempXxx must be paired with
      DeallocateTemp() for better tracking of buffers.
      
      See go/tflm-pairing-allocatetemp-with-deallocatetemp for more info
      
      * Enable kernel runner check
      Co-authored-by: NNat Jeffries <natmjeffries@gmail.com>
      05b427e1
    • P
      Add support for int8 conv on Vision P6 (#943) · 5ca34831
      psharath1 提交于
      * Added support for int8 conv on Vision P6
      
      * Change VISIONP6 to VISION_P6 in conv.cc
      
      * Change VISIONP6 to VISION_P6 in conv_vision.cc
      
      * Change VISIONP6 to VISION_P6 in xtensa.h
      
      * Change VISIONP6 to VISION_P6 in xtensa_conv.h
      
      * Change visionp6 to vision_p6 in P6 test script
      
      * Change visionp6 to vision_p6 in xtensa.inc
      
      * Change visionp6 to vision_p6 in xtensa_download.sh
      
      * Formatting changes for conv.cc
      
      Apply clang-format to format file
      
      * Formatting changes for conv_vision.cc
      
      Apply clang-format to format file.
      
      * Format xtensa.h with clang-format
      
      * Format xtensa_conv.h with clang-format
      
      * Correct typo in test_xtensa_vision_p6.sh
      
      * Increase arena size for person detection
      
      * Replace GetInput/GetOutput with micro context API
      
      * Remove trailing space
      Co-authored-by: NTing Yan <94130036+tingyan19@users.noreply.github.com>
      Co-authored-by: NTing Yan <tingyan@google.com>
      5ca34831
    • T
      Automated size log update (#945) · 7809fa4b
      TFLM-bot 提交于
      7809fa4b
  12. 01 3月, 2022 1 次提交
  13. 23 2月, 2022 1 次提交
  14. 22 2月, 2022 1 次提交
  15. 20 2月, 2022 1 次提交
  16. 19 2月, 2022 2 次提交
  17. 18 2月, 2022 2 次提交
  18. 17 2月, 2022 4 次提交
  19. 16 2月, 2022 3 次提交