Skip to content

Commit c6ce881

Browse files
committed
lint
1 parent 3763f61 commit c6ce881

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

onnxscript/function_libs/torch_aten/ops/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3453,7 +3453,9 @@ def aten_new_empty_strided(self: TensorType, size: INT64, stride: INT64) -> Tens
34533453

34543454

34553455
@torch_op("aten::new_full")
3456-
def aten_new_full(self, size: INT64, fill_value, dtype: int = FLOAT.dtype):
3456+
def aten_new_full(
3457+
self, size: INT64, fill_value, dtype: int = FLOAT.dtype
3458+
): # pylint: disable=unused-argument
34573459
# new_full(Tensor self, SymInt[] size, Scalar fill_value, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
34583460

34593461
fill_value = op.Cast(fill_value, to=dtype)

onnxscript/test/function_libs/torch_aten/ops_correctness_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def wrapped(fn):
169169
"exp": core_ops.aten_exp,
170170
"exp2": core_ops.aten_exp2,
171171
"fmod": core_ops.aten_fmod,
172+
# TODO(justinchuby): Test aten::full
172173
"full_like": core_ops.aten_full_like,
173174
"gt": core_ops.aten_gt,
174175
"isinf": core_ops.aten_isinf,

0 commit comments

Comments
 (0)