Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@konstantin-pueckler-qc
Copy link
Contributor

@konstantin-pueckler-qc konstantin-pueckler-qc commented Jul 24, 2025

Description

added cast of result to x.dtype which is necessary since the result needs to be of the same type as x regardless of the types ofalpha and beta.

Motivation and Context

The problem arouse when testing onnx-reference via the https://github.com/cbourjau/onnx-tests tool.

@konstantin-pueckler-qc konstantin-pueckler-qc requested a review from a team as a code owner July 24, 2025 13:27
@github-project-automation github-project-automation bot moved this to In progress in PR Tracker Jul 24, 2025
Signed-off-by: Konstantin Pueckler <[email protected]>
@justinchuby justinchuby changed the title Fixed return type of hardSigmoid Fix return type of HardSigmoid in reference implementation Jul 24, 2025
@github-project-automation github-project-automation bot moved this from In progress to Reviewer approved in PR Tracker Jul 24, 2025
@justinchuby justinchuby enabled auto-merge (squash) July 24, 2025 15:17
@justinchuby justinchuby merged commit 567ebd8 into onnx:main Jul 24, 2025
60 of 65 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in PR Tracker Jul 24, 2025
alx256 pushed a commit to alx256/onnx that referenced this pull request Aug 1, 2025
### Description
added cast of result to ``x.dtype`` which is necessary since the result
needs to be of the same type as ``x`` regardless of the types
of``alpha`` and ``beta``.

### Motivation and Context
The problem arouse when testing onnx-reference via the
https://github.com/cbourjau/onnx-tests tool.

Signed-off-by: Konstantin Pueckler <[email protected]>
Signed-off-by: Alexander Poulson <[email protected]>
MagellaX pushed a commit to MagellaX/onnx that referenced this pull request Aug 9, 2025
### Description
added cast of result to ``x.dtype`` which is necessary since the result
needs to be of the same type as ``x`` regardless of the types
of``alpha`` and ``beta``.

### Motivation and Context
The problem arouse when testing onnx-reference via the
https://github.com/cbourjau/onnx-tests tool.

Signed-off-by: Konstantin Pueckler <[email protected]>
Signed-off-by: Yash solanki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants