ai-edge-quantizer-nightly 0.4.0.dev20251022__py3-none-any.whl → 0.4.0.dev20251023__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ai_edge_quantizer/transformations/insert_decomposed_hadamard_rotation.py +8 -0
- {ai_edge_quantizer_nightly-0.4.0.dev20251022.dist-info → ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info}/METADATA +1 -1
- {ai_edge_quantizer_nightly-0.4.0.dev20251022.dist-info → ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info}/RECORD +6 -6
- {ai_edge_quantizer_nightly-0.4.0.dev20251022.dist-info → ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info}/LICENSE +0 -0
- {ai_edge_quantizer_nightly-0.4.0.dev20251022.dist-info → ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info}/WHEEL +0 -0
- {ai_edge_quantizer_nightly-0.4.0.dev20251022.dist-info → ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info}/top_level.txt +0 -0
|
@@ -220,6 +220,14 @@ def insert_decomposed_hadamard_rotation(
|
|
|
220
220
|
fc_op.opcodeIndex = fc_op_code_idx
|
|
221
221
|
fc_op.inputs = [prerotate_reshape_output_tensor_id, hadamard_matrix_tensor_id]
|
|
222
222
|
fc_op.outputs = [fc_output_tensor_id]
|
|
223
|
+
fc_options = schema_py_generated.FullyConnectedOptionsT()
|
|
224
|
+
fc_options.fusedActivationFunction = (
|
|
225
|
+
schema_py_generated.ActivationFunctionType.NONE
|
|
226
|
+
)
|
|
227
|
+
fc_op.builtinOptionsType = (
|
|
228
|
+
schema_py_generated.BuiltinOptions.FullyConnectedOptions
|
|
229
|
+
)
|
|
230
|
+
fc_op.builtinOptions = fc_options
|
|
223
231
|
|
|
224
232
|
# Insert x' = tfl.reshape(x', x.shape)
|
|
225
233
|
post_reshape_op_code_idx = transformation_utils.add_op_code(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ai-edge-quantizer-nightly
|
|
3
|
-
Version: 0.4.0.
|
|
3
|
+
Version: 0.4.0.dev20251023
|
|
4
4
|
Summary: A quantizer for advanced developers to quantize converted AI Edge models.
|
|
5
5
|
Home-page: https://github.com/google-ai-edge/ai-edge-quantizer
|
|
6
6
|
Keywords: On-Device ML,AI,Google,TFLite,Quantization,LLMs,GenAI
|
|
@@ -52,7 +52,7 @@ ai_edge_quantizer/transformations/duplicate_buffer.py,sha256=TvTHbm24IiICNkWOlvR
|
|
|
52
52
|
ai_edge_quantizer/transformations/duplicate_buffer_test.py,sha256=YYWl3Q5WF60s8T8pLzzA8TCSxz-i7dqc03dJt1LtMw4,3880
|
|
53
53
|
ai_edge_quantizer/transformations/duplicate_tensor.py,sha256=WKhf2LIAL0MnZe88b6942A37lvHXe1cFjUDqE5VNmvU,2490
|
|
54
54
|
ai_edge_quantizer/transformations/duplicate_tensor_test.py,sha256=s-RqSxNBMfVJyCunXz2eb7-KA6UiBmbOmL7phLslENQ,5056
|
|
55
|
-
ai_edge_quantizer/transformations/insert_decomposed_hadamard_rotation.py,sha256=
|
|
55
|
+
ai_edge_quantizer/transformations/insert_decomposed_hadamard_rotation.py,sha256=kBQQZ0VKUsV8hId3_a4K-812wNrZHU4LK2c1Rt_D_XA,11084
|
|
56
56
|
ai_edge_quantizer/transformations/insert_decomposed_hadamard_rotation_test.py,sha256=Z9Nr5e5aEeEMahhhizFyOkAMEXkEg1EKYZ_bGb5Vbvw,8993
|
|
57
57
|
ai_edge_quantizer/transformations/insert_hadamard_rotation.py,sha256=5D5WwrJCE6hQoANbMwa6YGBbjcG5HcL_rkkoXIAIW9w,6883
|
|
58
58
|
ai_edge_quantizer/transformations/insert_hadamard_rotation_test.py,sha256=iV1p3nZfHUATV2YRoBOYurnu3pLy8n3aFppLWGQOPdA,7268
|
|
@@ -74,8 +74,8 @@ ai_edge_quantizer/utils/tfl_interpreter_utils.py,sha256=EoVjI_hplX_Rml3hfRsGmQOi
|
|
|
74
74
|
ai_edge_quantizer/utils/tfl_interpreter_utils_test.py,sha256=6fjkM-rycZ95L4yfvlr0TN6RlrhfPzxNUYrZaYO_F0A,12013
|
|
75
75
|
ai_edge_quantizer/utils/validation_utils.py,sha256=QTYyQ_HDVrFTGPIsrA240Lv8tUw1fwWp2fu9kTVISkE,6224
|
|
76
76
|
ai_edge_quantizer/utils/validation_utils_test.py,sha256=lO51rGskhzpXePRdZMU87u_YO35_sDp9_eQ85CmupL4,4600
|
|
77
|
-
ai_edge_quantizer_nightly-0.4.0.
|
|
78
|
-
ai_edge_quantizer_nightly-0.4.0.
|
|
79
|
-
ai_edge_quantizer_nightly-0.4.0.
|
|
80
|
-
ai_edge_quantizer_nightly-0.4.0.
|
|
81
|
-
ai_edge_quantizer_nightly-0.4.0.
|
|
77
|
+
ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
78
|
+
ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info/METADATA,sha256=DCiUdGbJpATAVQi-4akL4I8_IXeCATh93x_qwWnA4KA,1508
|
|
79
|
+
ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
80
|
+
ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info/top_level.txt,sha256=8QTfPnFXNVUhScFLaa-NWZMFWMn72M50DVPubpwWB1g,18
|
|
81
|
+
ai_edge_quantizer_nightly-0.4.0.dev20251023.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|