Skip to content

Commit

Permalink
beignet.func.space
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00b1 committed Apr 22, 2024
1 parent b9c6c0a commit 2a8f5ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/beignet/func/_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def shift_fn(a: Tensor, b: Tensor, **_) -> Tensor:

return displacement_fn, shift_fn

def _displacement_fn(
def displacement_fn(
a: Tensor,
b: Tensor,
*,
Expand Down Expand Up @@ -328,4 +328,4 @@ def shift_fn(a: Tensor, b: Tensor, **_) -> Tensor:
def shift_fn(a: Tensor, b: Tensor, **_) -> Tensor:
return a + b

return _displacement_fn, shift_fn
return displacement_fn, shift_fn

0 comments on commit 2a8f5ed

Please sign in to comment.