ai-edge-quantizer-nightly 0.3.0.dev20250528__py3-none-any.whl → 0.3.0.dev20250529__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/transformation_instruction_generator.py +7 -5
- {ai_edge_quantizer_nightly-0.3.0.dev20250528.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info}/METADATA +1 -1
- {ai_edge_quantizer_nightly-0.3.0.dev20250528.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info}/RECORD +6 -6
- {ai_edge_quantizer_nightly-0.3.0.dev20250528.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info}/LICENSE +0 -0
- {ai_edge_quantizer_nightly-0.3.0.dev20250528.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info}/WHEEL +0 -0
- {ai_edge_quantizer_nightly-0.3.0.dev20250528.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info}/top_level.txt +0 -0
@@ -186,11 +186,13 @@ class TransformationInstructionsGenerator:
|
|
186
186
|
A tuple of tensor_name and TensorGraphInfo.
|
187
187
|
"""
|
188
188
|
for tensor_id, tensor in enumerate(subgraph.tensors):
|
189
|
-
consumers = [
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
189
|
+
consumers = []
|
190
|
+
for op_id, op in enumerate(subgraph.operators):
|
191
|
+
# Some ops may use the same input tensor multiple times,
|
192
|
+
# and we should handle each time independently.
|
193
|
+
for op_input in op.inputs:
|
194
|
+
if op_input == tensor_id:
|
195
|
+
consumers.append(op_id)
|
194
196
|
producer = -1
|
195
197
|
for op_id, op in enumerate(subgraph.operators):
|
196
198
|
if tensor_id in op.outputs:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ai-edge-quantizer-nightly
|
3
|
-
Version: 0.3.0.
|
3
|
+
Version: 0.3.0.dev20250529
|
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
|
@@ -19,7 +19,7 @@ ai_edge_quantizer/recipe.py,sha256=FR0uJceumZrnle2VRSOQZ1uXup4S1cTYKRH-N53mWRo,2
|
|
19
19
|
ai_edge_quantizer/recipe_manager.py,sha256=qcGUD7e7BISKdsY9WH2rdaRR3acmzSA5qMezGNbzlpo,8931
|
20
20
|
ai_edge_quantizer/recipe_manager_test.py,sha256=LulVxsYp6TBGFI2PLCUCd4VsFq8ELpC7kMNkUjsLgbo,32230
|
21
21
|
ai_edge_quantizer/recipe_test.py,sha256=Fg_sfxovI2fRjk5qdu18ghOvXdUvhDR1TxbE0GHDczc,3381
|
22
|
-
ai_edge_quantizer/transformation_instruction_generator.py,sha256=
|
22
|
+
ai_edge_quantizer/transformation_instruction_generator.py,sha256=B_TQQe9_Qs7UKXLjMMuz5lORUvXyZOxBS2SpntTnkI8,28077
|
23
23
|
ai_edge_quantizer/transformation_instruction_generator_test.py,sha256=E0QSDCav6N6izlJ-a1ZJOsb2VEUxuxBmTbt0-EgDdxY,49890
|
24
24
|
ai_edge_quantizer/transformation_performer.py,sha256=nkkqbs81ITB5u2FoWeG9z5d8EtLtCiltOxcQ34okN8E,13091
|
25
25
|
ai_edge_quantizer/transformation_performer_test.py,sha256=xk6A3LStCyPclN51--9uO7XjSxNfZmpdfvrzOL0maNM,20349
|
@@ -70,8 +70,8 @@ ai_edge_quantizer/utils/tfl_interpreter_utils.py,sha256=WoewyiZpaua80oP0tpgyrw5W
|
|
70
70
|
ai_edge_quantizer/utils/tfl_interpreter_utils_test.py,sha256=6fjkM-rycZ95L4yfvlr0TN6RlrhfPzxNUYrZaYO_F0A,12013
|
71
71
|
ai_edge_quantizer/utils/validation_utils.py,sha256=oYw33Sg547AqtGw-choPUJmp9SAKkV46J_ddqSsum2Q,3950
|
72
72
|
ai_edge_quantizer/utils/validation_utils_test.py,sha256=V_qNDikPD4OPB-siOLQCWNVWTAu87h2IgNYt7teFd-o,2934
|
73
|
-
ai_edge_quantizer_nightly-0.3.0.
|
74
|
-
ai_edge_quantizer_nightly-0.3.0.
|
75
|
-
ai_edge_quantizer_nightly-0.3.0.
|
76
|
-
ai_edge_quantizer_nightly-0.3.0.
|
77
|
-
ai_edge_quantizer_nightly-0.3.0.
|
73
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
74
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info/METADATA,sha256=v1MkPGHRpt0KiPfjmaXTYk3pBMu9X3enqLk8OXSCvxA,1528
|
75
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
76
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info/top_level.txt,sha256=8QTfPnFXNVUhScFLaa-NWZMFWMn72M50DVPubpwWB1g,18
|
77
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250529.dist-info/RECORD,,
|
File without changes
|
File without changes
|