Skip to content

Commit

Permalink
[Decomposition] std.correction (pytorch#108733)
Browse files Browse the repository at this point in the history
Summary:
bypass-github-export-checks

^ Using this because all the tests are passing and the PR has been approved yet the github-export-checks signal on this diff erroneously says that there are still more checks pending and is't going away.


Include decomp in core_aten_decompositions

Decomp:
https://www.internalfb.com/code/fbsource/[e69bf00ff87a55c9a30bd7905881661ff05fa211]/fbcode/caffe2/torch/_refs/__init__.py?lines=2398

Test Plan: Phabricator/OSS Tests

Reviewed By: SS-JIA

Differential Revision: D48940402
  • Loading branch information
salilsdesai authored and facebook-github-bot committed Sep 17, 2023
1 parent 75b954b commit 8abf60c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion test/expect/HasDecompTest.test_aten_core_operators.expect
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ aten::sqrt_
aten::squeeze
aten::squeeze.dim
aten::squeeze.dims
aten::std.correction
aten::std.correction_out
aten::std_mean.correction
aten::sub.Scalar
Expand Down
1 change: 1 addition & 0 deletions torch/_decomp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ def core_aten_decompositions() -> Dict[torch._ops.OperatorBase, Callable]:
aten.special_entr,
aten.special_log_ndtr,
aten.special_xlog1py,
aten.std.correction,
aten.stack,
aten.t,
aten.tanh_backward,
Expand Down

0 comments on commit 8abf60c

Please sign in to comment.