Skip to content

Commit ece0819

Browse files
justinchubyCopilot
andauthored
Update onnxscript/function_libs/torch_lib/ops/core.py
Co-authored-by: Copilot <[email protected]>
1 parent 735f955 commit ece0819

File tree

1 file changed

+1
-1
lines changed
  • onnxscript/function_libs/torch_lib/ops

1 file changed

+1
-1
lines changed

onnxscript/function_libs/torch_lib/ops/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ def aten_bitwise_and(self: TTensor, other: TTensor) -> TTensor:
12391239

12401240

12411241
@torch_op("aten::bitwise_and.Scalar", trace_only=True)
1242-
def aten_bitwise_and_scalar(self: TTensor, other: float) -> TTensor:
1242+
def aten_bitwise_and_scalar(self: TTensor, other: int) -> TTensor:
12431243
"""bitwise_and.Scalar(Tensor self, Scalar other) -> Tensor"""
12441244

12451245
other_tensor = op.Constant(value=ir.tensor(other, dtype=self.dtype))

0 commit comments

Comments
 (0)