Skip to content

Commit

Permalink
remainder
Browse files Browse the repository at this point in the history
  • Loading branch information
justinchuby committed Nov 19, 2024
1 parent 87499f4 commit 0429f87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion onnxscript/function_libs/torch_lib/ops/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7119,7 +7119,9 @@ def aten_remainder(self: TFloat, other: TFloat) -> TFloat:
return op.Sub(self, op.Mul(rounded_quotient, other))


@torch_op(("aten::remainder.Tensor", "aten::remainder.Scalar", "_operator::mod"))
@torch_op(
("aten::remainder.Tensor", "aten::remainder.Scalar", "_operator::mod"), traceable=True
)
def aten_remainder_int(self: TInt, other: TInt) -> TInt:
"""remainder.Tensor(Tensor self, Tensor other) -> Tensor"""

Expand Down

0 comments on commit 0429f87

Please sign in to comment.