-
Notifications
You must be signed in to change notification settings - Fork 1.5k
GridSplit torch vs numpy performance #4286
Copy link
Copy link
Closed
Labels
Pathology/MicroscopyDigital Pathology and Microscopy relatedDigital Pathology and Microscopy relatedenhancementNew feature or requestNew feature or request
Description
GridSplit has two separate implementations for torch.Tensor and numpy.ndarray. Although the torch implementation using unfold is specific to torch, both should be able to use the numpy implementation using as_strided. Thus, it would be nice to compare the performance of these two implementation and if as_strided is better, we can unify the implementation. Other factor to consider would be ability to expand to tensors with three spatial dimensions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Pathology/MicroscopyDigital Pathology and Microscopy relatedDigital Pathology and Microscopy relatedenhancementNew feature or requestNew feature or request
Type
Projects
Status
💯 Complete