eagerpy icon indicating copy to clipboard operation
eagerpy copied to clipboard

How to Transform a torch tensor to tensorflow tensor

Open kepengxu opened this issue 4 years ago • 1 comments

kepengxu avatar Sep 03 '20 09:09 kepengxu

This is not currently the purpose of EagerPy. EagerPy, right now, gives you an API to write code that works the same way with PyTorch tensors and TensorFlow tensors, but not mixing them simultaneously. In principle, we might be able to add that if it is needed (keep in mind though that TensorFlow and PyTorch on the same GPU don't behave that well).

jonasrauber avatar Sep 03 '20 10:09 jonasrauber