Skip to content

Commit 735f955

Browse files
committed
docs
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
1 parent 894bc8e commit 735f955

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

onnxscript/function_libs/torch_lib/ops/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,15 +1240,15 @@ def aten_bitwise_and(self: TTensor, other: TTensor) -> TTensor:
12401240

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

12451245
other_tensor = op.Constant(value=ir.tensor(other, dtype=self.dtype))
12461246
return aten_bitwise_and(self, other_tensor)
12471247

12481248

12491249
@torch_op("aten::bitwise_and.Scalar_Tensor", trace_only=True)
12501250
def aten_bitwise_and_scalar_tensor(self: float, other: TTensor) -> TTensor:
1251-
"""bitwise_and.Scalar_Tensor(float self, Tensor other) -> Tensor"""
1251+
"""bitwise_and.Scalar_Tensor(Scalar self, Tensor other) -> Tensor"""
12521252

12531253
self_tensor = op.Constant(value=ir.tensor(self, dtype=other.dtype))
12541254
return aten_bitwise_and(self_tensor, other)
@@ -1348,7 +1348,7 @@ def aten_bitwise_or_scalar(self: TTensor, other: float) -> TTensor:
13481348

13491349
@torch_op("aten::bitwise_or.Scalar_Tensor", trace_only=True)
13501350
def aten_bitwise_or_scalar_tensor(self: float, other: TTensor) -> TTensor:
1351-
"""bitwise_or.Scalar_Tensor(float self, Tensor other) -> Tensor"""
1351+
"""bitwise_or.Scalar_Tensor(Scalar self, Tensor other) -> Tensor"""
13521352
self_tensor = op.Constant(value=ir.tensor(self, dtype=other.dtype))
13531353
return aten_bitwise_or(self_tensor, other)
13541354

0 commit comments

Comments
 (0)