You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PR #1625 we are adding verifier for Reduce ops. In this verifier we should also add a check that depending on inputShape, reduceDims and keepDim computes the expected output shape and checks if it matches the actual output shape. This kind of check turns out to be really valuable when op is decomposed because it will usually require some data movement op that will change shape, and this is the best place to catch those kinds of errors.
Here is the stablehlo implementation of the same verifier check for the reference.
The text was updated successfully, but these errors were encountered:
In PR #1625 we are adding verifier for Reduce ops. In this verifier we should also add a check that depending on inputShape, reduceDims and keepDim computes the expected output shape and checks if it matches the actual output shape. This kind of check turns out to be really valuable when op is decomposed because it will usually require some data movement op that will change shape, and this is the best place to catch those kinds of errors.
Here is the stablehlo implementation of the same verifier check for the reference.
The text was updated successfully, but these errors were encountered: