alibi-detect icon indicating copy to clipboard operation
alibi-detect copied to clipboard

Unify input types kernels of different backends

Open arnaudvl opened this issue 3 years ago • 0 comments

Ensure that PyTorch, TensorFlow and KeOps kernels all take native tensors from the relevant backend as inputs. Currently PyTorch allows to pass NumPy arrays in the forward pass but doesn't handle proper device placement afterwards.

arnaudvl avatar Aug 09 '22 18:08 arnaudvl