Skip to content

Commit

Permalink
Attach Golden Function (already implemented ) For Reshape (accidental…
Browse files Browse the repository at this point in the history
…ly unattached in previous PR) (#13614)

#13613: add golden function for reshape

Co-authored-by: Saad Jameel <[email protected]>
  • Loading branch information
ntarafdar and sjameelTT authored Oct 10, 2024
1 parent 04f71b4 commit ab725ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ttnn/ttnn/operations/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def _postprocess_golden_function_outputs(output, args, kwargs):
ttnn.Shape([32, 64])
"""
ttnn.attach_golden_function(ttnn.reshape, golden_function=_golden_function)

# TODO(arakhmati): remove this once underlying C++ code can handle non-4D shapes
ttnn.register_python_operation(name="ttnn.unsqueeze_to_4D")(ttnn._ttnn.operations.core.unsqueeze_to_4D)
Expand Down

0 comments on commit ab725ab

Please sign in to comment.