Skip to content

Commit

Permalink
[Arm] Update TOSA serialization lib
Browse files Browse the repository at this point in the history
This is to pull in an upstream fix to unblock #7659
  • Loading branch information
digantdesai committed Jan 15, 2025
1 parent a18f6e8 commit a933238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/arm/third-party/serialization_lib
Submodule serialization_lib updated 65 files
+3 −1 .gitignore
+3 −3 .pre-commit-config.yaml
+55 −18 CMakeLists.txt
+144 −49 README.md
+21 −43 include/attribute.def
+985 −0 include/cfloat.h
+35 −0 include/cfloat_forward.h
+283 −0 include/cmicroscaling.h
+17 −0 include/numpy_utils.h
+106 −0 include/op.def
+62 −0 include/op.h
+271 −579 include/tosa_generated.h
+371 −0 include/tosa_schema.h
+58 −52 include/tosa_serialization_handler.h
+6 −0 pyproject.toml
+0 −0 python/pytests/__init__.py
+75 −0 python/pytests/conftest.py
+233 −0 python/pytests/examples/test_conv2d_256x256x3_f32.json
+86 −0 python/pytests/examples/test_select_2048x2048x3_i8.json
+116 −0 python/pytests/test_example.py
+225 −0 python/pytests/test_single_attr.py
+104 −0 python/pytests/test_single_op.py
+307 −0 python/pytests/test_single_tensor.py
+2 −1 python/serializer/__init__.py
+153 −152 python/serializer/tosa_serializer.py
+16 −18 python/tosa/Attribute.py
+30 −56 python/tosa/ClampAttribute.py
+10 −10 python/tosa/CondIfAttribute.py
+17 −4 python/tosa/ConvAttribute.py
+1 −1 python/tosa/CustomAttribute.py
+2 −0 python/tosa/DType.py
+0 −26 python/tosa/FullyConnectedAttribute.py
+10 −0 python/tosa/Op.py
+14 −66 python/tosa/PadAttribute.py
+8 −8 python/tosa/PoolAttribute.py
+54 −0 python/tosa/RandUniformAttribute.py
+11 −89 python/tosa/RescaleAttribute.py
+0 −80 python/tosa/ReshapeAttribute.py
+0 −117 python/tosa/ResizeAttribute.py
+0 −119 python/tosa/SliceAttribute.py
+0 −39 python/tosa/TableAttribute.py
+0 −80 python/tosa/TileAttribute.py
+4 −4 python/tosa/TosaBasicBlock.py
+1 −1 python/tosa/TosaGraph.py
+2 −2 python/tosa/TosaOperator.py
+1 −1 python/tosa/TosaRegion.py
+2 −2 python/tosa/TosaTensor.py
+1 −1 python/tosa/TransposeAttribute.py
+20 −46 python/tosa/TransposeConvAttribute.py
+10 −10 python/tosa/WhileLoopAttribute.py
+0 −1 regenerate_headers.sh
+55 −0 schema/convert_schema_to_header.py
+38 −42 schema/tosa.fbs
+42 −14 src/numpy_utils.cpp
+271 −78 src/tosa_serialization_handler.cpp
+ test/examples/test_add_1x4x4x4_f32.tosa
+37 −0 test/gtests/CMakeLists.txt
+98 −0 test/gtests/test_serialization_npy.cpp
+43 −0 test/gtests/test_serialization_read_write.cpp
+186 −0 test/gtests/test_serialization_unit.cpp
+204 −0 test/gtests/test_serialization_utils.h
+73 −0 test/gtests/test_single_attr.cpp
+135 −0 test/gtests/test_u8_conversion.cpp
+7 −13 test/src/serialization_npy_test.cpp
+1 −1 third_party/flatbuffers

0 comments on commit a933238

Please sign in to comment.