Skip to content

Commit

Permalink
#7292: Linter applied
Browse files Browse the repository at this point in the history
  • Loading branch information
“Nenad authored and npetrovic-tenstorrent committed May 17, 2024
1 parent a9ed216 commit d29f733
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tt_eager/python_api_testing/sweep_tests/pytorch_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1865,13 +1865,15 @@ def max_pool2d(x, *args, **kwargs):
def repeat_2(x, *args, shape, **kwargs):
return x.repeat(*shape)


def power_2(x, y, *args, exponent=None, **kwargs):
if exponent is None:
result = torch.pow(x, y)
else:
result = x**exponent
return result


def subtract_and_apply_activation(x, y, *args, **kwargs):
activation = kwargs.pop("activation")
output = torch.sub(x, y)
Expand Down

0 comments on commit d29f733

Please sign in to comment.