Skip to content

Commit

Permalink
Merge branch 'main' into xiaowu/addConvBackward
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowuhu committed Jul 8, 2024
2 parents c21f6ac + c57e9e7 commit 1eb33c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion onnxscript/function_libs/torch_lib/ops/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -6636,7 +6636,14 @@ def aten_positive(self: TensorType) -> TensorType:
raise NotImplementedError()


@torch_op(("aten::pow.Tensor_Tensor", "aten::pow.Tensor_Scalar", "_operator::pow"))
@torch_op(
(
"aten::pow.Scalar",
"aten::pow.Tensor_Tensor",
"aten::pow.Tensor_Scalar",
"_operator::pow",
)
)
def aten_pow(self: TReal, exponent: TTensor) -> TReal:
"""pow(Tensor self, Tensor exponent) -> Tensor"""

Expand Down
2 changes: 1 addition & 1 deletion requirements/lintrunner/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ lintrunner-adapters>=0.8.0
# RUFF, RUFF-FIX
ruff==0.5.0
# MYPY
mypy==1.10.0
mypy==1.10.1
types-PyYAML==6.0.12.11
# PYLINT
pylint==2.17.6
Expand Down

0 comments on commit 1eb33c3

Please sign in to comment.