pytorch_pfn_extras#
Functions
|
Creates a numpy.ndarray or cupy.ndarray from torch.Tensor. |
|
Returns NumPy dtype for the given PyTorch dtype. |
|
Compiles a module and an optimizer in a single graph using the provided backend. |
|
Creates a torch.Tensor from a numpy.ndarray or cupy.ndarray. |
|
Returns PyTorch dtype for the given NumPy dtype. |
Returns a module of ndarray implementation (numpy or cupy) for the given obj. |
|
|
|
|
|
|
A function to transfer the given object to the given device. |
Modules