mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE][Bugfix]: Add rad2deg to pointwise ops (#140290)
Adds missing pontwise tags. Apparently this allows NestedTensor to properly generate a function for opinfo Pull Request resolved: https://github.com/pytorch/pytorch/pull/140290 Approved by: https://github.com/jbschlosser
This commit is contained in:
committed by
PyTorch MergeBot
parent
3e82b1f6c0
commit
3d2dd14217
@ -4601,6 +4601,7 @@
|
||||
CompositeExplicitAutograd: rad2deg
|
||||
SparseCPU, SparseCUDA: rad2deg_sparse
|
||||
SparseCsrCPU, SparseCsrCUDA, SparseCsrMeta: rad2deg_sparse_csr
|
||||
tags: pointwise
|
||||
|
||||
- func: rad2deg_(Tensor(a!) self) -> Tensor(a!)
|
||||
variants: function, method
|
||||
@ -4608,12 +4609,14 @@
|
||||
CompositeExplicitAutograd: rad2deg_
|
||||
SparseCPU, SparseCUDA: rad2deg_sparse_
|
||||
SparseCsrCPU, SparseCsrCUDA, SparseCsrMeta: rad2deg_sparse_csr_
|
||||
tags: pointwise
|
||||
|
||||
- func: rad2deg.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
|
||||
dispatch:
|
||||
CompositeExplicitAutograd: rad2deg_out
|
||||
SparseCPU, SparseCUDA: rad2deg_sparse_out
|
||||
SparseCsrCPU, SparseCsrCUDA, SparseCsrMeta: rad2deg_sparse_csr_out
|
||||
tags: pointwise
|
||||
|
||||
- func: deg2rad(Tensor self) -> Tensor
|
||||
variants: function, method
|
||||
|
@ -7847,7 +7847,6 @@ FORWARD_FAILURES = [
|
||||
"nn.functional.softplus",
|
||||
"nn.functional.softshrink",
|
||||
"nn.functional.threshold",
|
||||
"rad2deg",
|
||||
# binary
|
||||
"__rsub__",
|
||||
"complex",
|
||||
|
Reference in New Issue
Block a user