Skip to content
  1. Aug 16, 2023
    • Johan Alfvén's avatar
      MLBEDSW-7884: Fix crash for RSQRT · 3db30ff5
      Johan Alfvén authored
      
      
      - RSQRT is only defined for positive numbers and
      therefore the zeropoint and actual input value
      will have an impact
      
      - Clamp the range to avoid crashing. As long as the actual
      input is within valid range everything works. If the input
      is not valid the reference will crash and not generating
      any output
      
      Change-Id: I1082b508d9cd85ad4b017e7b786cfff730585172
      Signed-off-by: Johan Alfvén's avatarJohan Alfven <johan.alfven@arm.com>
      3.9.0.rc2
      3db30ff5
  2. Aug 10, 2023
  3. Aug 09, 2023
  4. Aug 08, 2023
    • Tim Hall's avatar
      MLBEDSW-7689: Document verbose command stream options · cd03504c
      Tim Hall authored
      
      
       - Documented High-Level and register-Level command stream options
       - Changed High-Level command stream display to show the name of the
      command
       - Fixed an issue with some operators not being displayed by the
      CLI option --verbose-operators
       - Changed an unneeded print in pass packing to a more useful assertion
      
      Change-Id: I9d53f19f4e32d0478209bc964724c27c935f66d6
      Signed-off-by: Tim Hall's avatarTim Hall <tim.hall@arm.com>
      cd03504c
    • Tim Hall's avatar
      MLBEDSW-7656: Update Python versions in README · 4bd28aa1
      Tim Hall authored
      
      
       - Added Python support information
       - Clarified TensorFlow support information
       - Updated Requires-Python version to 3.8
      
      Change-Id: Iab38a2f4480e58a1bd36d5055342c4bf7379dd09
      Signed-off-by: Tim Hall's avatarTim Hall <tim.hall@arm.com>
      4bd28aa1
  5. Aug 07, 2023
  6. Aug 04, 2023
  7. Jul 31, 2023
  8. Jul 24, 2023
  9. Jul 12, 2023
    • Tim Hall's avatar
      MLBEDSW-7756: MLCE: Grouped convolutions runtime problem · 9cf63a36
      Tim Hall authored
      
      
       - Added graph optimiser function to convert convolution groups into
      a split followed by separate convolutions and then a concat
       - Added semantic check for convolution groups
       - Added unit tests for convolution groups semantic checks
       - Fixed a minor typing issue with test_constraint_stride_range
      
      Change-Id: I78ade408aa23469a79c9f517c4751da8619b77a9
      Signed-off-by: Tim Hall's avatarTim Hall <tim.hall@arm.com>
      9cf63a36
  10. Jul 11, 2023
  11. Jul 10, 2023
    • Johan Alfvén's avatar
      MLBEDSW-7833: MLCE: Fixed output diff for reshape op · 8df91f5b
      Johan Alfvén authored and Tim Hall's avatar Tim Hall committed
      
      
      - In order to reduce memory usage, the live range mechanism have logic
      to check if the ifm tensor can be reused for the ofm tensor for certain
      operators
      
      - In this failing test case, the input to the reshape/memcpy operator
      has more than one consumer and this results in a faulty memory overwrite
      since there are missing logic that should check the ifm consumers for
      the memcpy operator
      
      - The fix is to add the missing logic that ifm can only have one consumer
      
      Change-Id: I2184c0f905b554f648c9732734098509e23b537c
      Signed-off-by: Johan Alfvén's avatarJohan Alfven <johan.alfven@arm.com>
      8df91f5b
    • William Isaksson's avatar
      MLBEDSW-7752: setting query shapes to Shape4D(0) · 52afbbbe
      William Isaksson authored and Tim Hall's avatar Tim Hall committed
      
      
      Changes query initialization shapes to Shape4D(0,0,0,0) = [0,0,0,0]
      instead of Shape4D(0) = [0,1,1,1]. The [0,1,1,1] tensors would affect
      performance estimates and are not real.
      
      
      Change-Id: Ic83b6f6a70c0c904b500f62756e1e125c99856c6
      Signed-off-by: William Isaksson's avatarWilliam Isaksson <william.isaksson@arm.com>
      52afbbbe
  12. Jul 06, 2023
    • Tim Hall's avatar
      MLBEDSW-7832: test_tflite_model_semantic converting array to scalar · 762d3acb
      Tim Hall authored
       - The problem is that the axis value can be either a scalar or an
      array containing a single element
       - The solution is to check the length of the shape because the size
      attribute returns the same value for both cases
       - This did not show up before because pytest warnings were not being
      treated as errors
       - Removed pre-commit pytest option that caused tests to be searched for
      from the root directory
       - Updated pyproject.toml pytest options to explicitly specify the test
      directories, and to treat warnings as errors
      
      Change-Id: I037054768e5c34f253b6062eadba1c3419ff65e4
      762d3acb
  13. Jun 28, 2023
  14. Jun 20, 2023
  15. Jun 19, 2023
  16. Jun 16, 2023
    • Johan Alfvén's avatar
      MLBEDSW-7709: MLCE: Crash when rewriting split op · 85b77901
      Johan Alfvén authored
      
      
      - A crash occurred due to NoneType subscriptable error when
      rewriting a Slice op. The reason was that the Size tensor did
      not contain any data.
      
      - Added constraint pushing the Slice operator to the CPU if
      begin or size tensor are empty.
      
      - Added test to supported operators
      - Updated SUPPORTED_OPS.md
      
      Change-Id: Ide204cae24e5871f0e6ae1fdc98ac68d0ce4d3ae
      Signed-off-by: Johan Alfvén's avatarJohan Alfven <johan.alfven@arm.com>
      85b77901
    • Raul Farkas's avatar
      MLBEDSW-7315: Add support for AvgPool with stride_width > 3 · 3e7157ba
      Raul Farkas authored and Fredrik Svedberg's avatar Fredrik Svedberg committed
      
      
      * Convert AvgPool with stride_width > 3 and Valid padding to Conv2D to
        optimize it to run on NPU.
      
      Change-Id: I06ab412357f0b09b1498f9019a9d1963a324ad34
      Signed-off-by: default avatarRaul Farkas <raul.farkas@arm.com>
      3e7157ba
    • Raul Farkas's avatar
      MLBEDSW-7648: Fix bug with filter padding in conv2d · 3b64f068
      Raul Farkas authored and Fredrik Svedberg's avatar Fredrik Svedberg committed
      
      
      * Fix bug that caused filter padding to not be added proportionally
        compared to the hardware padding added to IFM.
      * Update needed_total_padding function that calculates hardware padding
        to also account for the cases in which IFM width is not divisible by
        the stride width.
      * Update supported ops constraint on strides for conv2d to mark ops with
        stride width > 3 and IFM width that is not divisible by the
        optimization resize factor as not supported.
      * Update unit tests that verify correct functionality when checking
        whether ops are supported or not.
      
      Change-Id: I62f14cca890b779ca787a9603fa37c873ad522f8
      Signed-off-by: default avatarRaul Farkas <raul.farkas@arm.com>
      3b64f068
  17. Jun 15, 2023
  18. Jun 14, 2023
  19. Jun 13, 2023
    • Johan Alfvén's avatar
      MLBEDS-7714: Fix assert for cascaded Resize op · 0b4ac769
      Johan Alfvén authored
      
      
      - Cascading was recently enabled for Resize ops. A Resize op is
      transformed into several ops. In this case the last op is a
      DepthwiseConv2DBias using NEAREST resampling mode. This resampling/
      upscaling is not taken into account when calculating the ifm box
      size, causing the coordinates to get out of bounds.
      
      - When generating the high level command stream there is a check to
      see if an op is a resize op. If this is the case an upscaling factor
      is calculated. The fix is to change this check to instead see if the
      operator is using NEAREST resampling mode. If that is true, the
      scaling factor should be used.
      
      Change-Id: I5308a383cc3310c53004ccfe2d6fabf256478a26
      Signed-off-by: Johan Alfvén's avatarJohan Alfven <johan.alfven@arm.com>
      0b4ac769
  20. May 31, 2023
  21. May 24, 2023
  22. May 17, 2023
  23. May 15, 2023
Loading