Skip to content
This project is mirrored from https://review.mlplatform.org/tosa/tosa_mlir_translator. Pull mirroring failed .
Last successful update .
  1. Mar 21, 2024
  2. Feb 01, 2024
  3. Jan 31, 2024
  4. Jan 30, 2024
    • Tai Ly's avatar
      Change PadOp's padding to TOSA Shape · 06cb91ba
      Tai Ly authored
      
      
      PadOp's padding input is now a tosa.shape type.
      Changed serialization of PadOp to not store padding as attribute.
      Changed deserialization of PadOp to not restore padding from attribute.
      
      Signed-off-by: default avatarTai Ly <tai.ly@arm.com>
      Change-Id: I8a622978ea184b8d2779d311adba629c1a0d1fbd
      06cb91ba
  5. Jan 18, 2024
  6. Dec 02, 2023
  7. Nov 27, 2023
  8. Nov 15, 2023
  9. Nov 14, 2023
  10. Oct 27, 2023
  11. Oct 19, 2023
  12. Oct 16, 2023
  13. Oct 11, 2023
  14. Sep 14, 2023
  15. Sep 11, 2023
  16. Sep 07, 2023
  17. Aug 28, 2023
  18. Aug 16, 2023
  19. Aug 01, 2023
  20. Jul 26, 2023
  21. Jul 24, 2023
  22. Jul 21, 2023
  23. Jul 18, 2023
    • Tai Ly's avatar
      Add deserialization of AccumType · f65ce51e
      Tai Ly authored
      
      
      Added deserialize accum_type attribute for AvgPool2D Op
      also fixed serialization of accum_type attribute for AvgPool2D Op
      
      also updated third_party/serialization_lib hash
      
      LLVM_REFSPEC:  refs/changes/23/532123/2
      TF_REFSPEC: refs/changes/34/699334/5
      
      Signed-off-by: default avatarTai Ly <tai.ly@arm.com>
      Change-Id: I2084f33e60d1bf8f76958b320a96fc1f3a94d95c
      f65ce51e
  24. Jul 14, 2023
  25. Jul 12, 2023
  26. Jul 10, 2023
  27. Jun 21, 2023
  28. Jun 20, 2023
  29. Jun 02, 2023
  30. May 26, 2023
  31. May 25, 2023
  32. May 06, 2023
    • Tai Ly's avatar
      Add BuildMlirFromTosaFile API · 04992e45
      Tai Ly authored
      
      
      This BuildMlirFromTosaFile API deserializes a tosa fbs or
      json file and returns a mlir module as OwningOpRef<ModuleOp>
      
      This also refactors the existing deserialization passes
      to use the new API, and then copy the deserialized module's
      main function into the existing function, and copy all
      attributes of the new function and new module into the
      existing function and module.
      
      This allows testing of the new API by running deserialization
      passes.
      
      Here is an example showing the attributes on the deserialized
      module and functions:
      
      module attributes {tf_saved_model.semantics, tosa.description = "Tosa FBS Converted", tosa.fbs_version = "0.70.0d"} {
        func.func @main(%arg0: tensor<1x256x256x3xui8> {tf_saved_model.index_path = ["input_0"]}) -> (tensor<1x1x17x3xf32> {tf_saved_model.index_path = ["output_0"]}) attributes {tf.entry_function = {inputs = "tosa_de
      serialized_input_0:0", outputs = "tosa_deserialized_output_0:0"}, tf_saved_model.exported_names = ["tosa_deserialized"]} {
      
      Signed-off-by: default avatarTai Ly <tai.ly@arm.com>
      Change-Id: Ia6c0202ef43ce5d37788cd459ed7c3f8424dd619
      04992e45
  33. Apr 26, 2023
    • Tai Ly's avatar
      serialize/deserialize while/if ops using regions · 8ffce6d6
      Tai Ly authored
      
      
      This changes serialization and deserialization of while and if ops
      to use regions instead of blocks.
      
      also changed deserialization to preserve original ordering such that:
      tosa1->deserialize->serialize->tosa2 => tosa1 == tosa2 most of the time.
      
      Signed-off-by: default avatarTai Ly <tai.ly@arm.com>
      Change-Id: I539076788bdc466ba1881d955af349e6b4924ed8
      8ffce6d6
  34. Apr 25, 2023
  35. Apr 22, 2023
  36. Mar 16, 2023
  37. Mar 09, 2023
  38. Mar 07, 2023
Loading