Closed Multihuntr closed 2 years ago
@Multihuntr I appreciate the contribution, but feel this is not right for the project. The affine project is pretty much complete and we're not looking to change its abstractions or add new features. I think this library will be easier to comprehend if it doesn't cover batch transforms and we also won't need to add new tests or documentation for the new cases. I hope you understand.
Resolves #68
Multiplying Affine with a numpy array or torch tensor now applies the transform to multiple coordinates in either numpy.ndarray or torch.tensor format (assuming coordinates are shaped [..., 2]).
Doesn't make numpy or torch a dependency.