Pytorch einsum gpu. cupy: numpy-like api for GPU tensors.