Skip to content

Conversation

@vishalharkal15
Copy link

  • Modified translate_clamp to use v0::Clamp when min and max are constants
  • This ensures clamp is preserved in OpenVINO IR and works correctly in C++ inference
  • Fixes issue where clamp failed in C++ but worked in Python for integer types

Related to issue #33033

Details:

  • item1
  • ...

Tickets:

  • ticket-id

- Modified translate_clamp to use v0::Clamp when min and max are constants
- This ensures clamp is preserved in OpenVINO IR and works correctly in C++ inference
- Fixes issue where clamp failed in C++ but worked in Python for integer types

Related to issue openvinotoolkit#33033
@vishalharkal15 vishalharkal15 requested a review from a team as a code owner November 26, 2025 13:59
@github-actions github-actions bot added the category: PyTorch FE OpenVINO PyTorch Frontend label Nov 26, 2025
@sys-openvino-ci sys-openvino-ci added the ExternalPR External contributor label Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: PyTorch FE OpenVINO PyTorch Frontend ExternalPR External contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants