Skip to content

Commit

Permalink
Merge pull request #81 from flatironinstitute/cleanup/remove-old-t2
Browse files Browse the repository at this point in the history
Remove old type 2 code
  • Loading branch information
WardBrian authored Oct 13, 2023
2 parents 92c5eaf + 3a6ea17 commit a9caabe
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 1,270 deletions.
4 changes: 2 additions & 2 deletions pytorch_finufft/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Pytorch bindings for the FINUFFT Library"""

from . import functional, nn
from . import functional

__all__ = ["functional", "nn"]
__all__ = ["functional"]
__version__ = "0.1.0"
4 changes: 1 addition & 3 deletions pytorch_finufft/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ def check_output_shape(ndim: int, output_shape: Union[int, Tuple[int, ...]]) ->
_COORD_CHAR_TABLE = "xyz"


def _type2_checks(
points_tuple: Tuple[torch.Tensor, ...], targets: torch.Tensor
) -> None:
def _type2_checks(points_tuple: torch.Tensor, targets: torch.Tensor) -> None:
"""
Performs all type, precision, size, device, ... checks for the
type 2 FINUFFT
Expand Down
Loading

0 comments on commit a9caabe

Please sign in to comment.