1. 21 9月, 2022 1 次提交
  2. 04 8月, 2022 1 次提交
  3. 04 5月, 2022 1 次提交
    • P
      Enable -Wmissing-field-initializers and update all registration (#1084) · 1bc98621
      Pauline Sho 提交于
      * Enable -Wmissing-field-initializers and update all registration
      references
      
      In https://github.com/tensorflow/tflite-micro/pull/1082/, we disabled
      the compiler error as a workaround for a successful upstream sync from
      TFLite. This PR re-enables the error after addressing all errors. A new
      `RegisterOp` API is added, and all prior TfLiteRegistration struct
      initializations are updated to use the new API. At the minimum, this
      ensures that such additions in future will only require an update to
      RegisterOp if TFLM doesn't use that field.
      
      BUG=b/230507399
      
      * Added new RegisterOpWithFree for LSTM
      
      * Remove LSTM Free
      
      * Changed inline to normal function to save code size
      
      * Changed inline to normal function to save code size
      
      * Replace cmsis_nn static initialization with RegisterOp
      
      * Removed extra code
      
      * Add dropped namespace in hard_swish
      1bc98621
  4. 02 2月, 2022 1 次提交
    • D
      Replace (almost) all kernel's GetInput/GetOutput with AllocateTempXXx and... · ce9451f5
      deqiangc 提交于
      Replace (almost) all kernel's GetInput/GetOutput with AllocateTempXXx and DeallocateTempXxx micro context api (#894)
      
      * Replace GetInput/GetOutput with micro context api
      
      * Replace GetInput/GetOutput in kernels with micro_context api. Ther are three kernels (strided_slice, squeeze, transpose)that are not changed yet because:
      they put the returned value of GetInput/GetOutput in an OpData structure that is persistent.
      It is better to have separate change to opdata of those kernels
      
      * Fix corner case in pad
      
      * Fix cmsis-nn
      
      * Fix xtensa, cmsis_nn, hexagon
      ce9451f5
  5. 15 7月, 2021 1 次提交
    • A
      Have a TFLM-specific version of lite/kernels/op_macros.h (#275) · 454c072e
      Advait Jain 提交于
      * Have a TFLM-specific version of lite/kernels/op_macros.h
      
       * After this change, we can remove the TFLM-specific code from upstream
         Tensorflow.
       * Both the TfLite and TFLM implementations of op_macros.h will be
         simplified.
      
      BUG=http://b/187728891
      NO_CHECK_TFLITE_FILE=lite/kernels/kernel_util.cc will be modified in upstream as well
      
      * Fix target-specific makefile build.
      454c072e
  6. 10 4月, 2021 1 次提交