这是indexloc提供的服务,不要输入任何密码
Skip to content

Add declarative quantization optimization patterns. #97467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jul 23, 2025

Add declarative quantization optimization patterns.

This change introduces new declarative quantization patterns for TFLite in MLIR.

The new patterns include:

  • Fusing a Dequantize op followed by a Quantize op into a single requantization op.
  • Fusing consecutive Quantize ops.
  • Removing no-op Quantize ops where the input and output types are the same.

@copybara-service copybara-service bot force-pushed the exported_pr_786055946 branch 4 times, most recently from ccdc6ae to cd21de8 Compare July 25, 2025 23:08
This change introduces new declarative quantization patterns for TFLite in MLIR.

The new patterns include:
- Fusing a Dequantize op followed by a Quantize op into a single requantization op.
- Fusing consecutive Quantize ops.
- Removing no-op Quantize ops where the input and output types are the same.

PiperOrigin-RevId: 787288671
@copybara-service copybara-service bot force-pushed the exported_pr_786055946 branch from cd21de8 to 3607270 Compare July 26, 2025 00:12
@copybara-service copybara-service bot merged commit 3607270 into master Jul 26, 2025
1 check passed
@copybara-service copybara-service bot deleted the exported_pr_786055946 branch July 26, 2025 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant