Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhambhokare1 committed Jul 17, 2024
1 parent 246efd8 commit 7272bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxscript/function_libs/torch_lib/ops/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4671,7 +4671,7 @@ def aten_lerp(self: TTensor, end: TTensor, weight: TTensor) -> TTensor:
return op.Where(
op.Less(weight, 0.5),
op.Add(self, op.Mul(weight, diff)),
op.Sub(end, op.Mul(diff, op.Sub(1.0, weight)))
op.Sub(end, op.Mul(diff, op.Sub(1.0, weight))),
)


Expand Down

0 comments on commit 7272bb5

Please sign in to comment.