Numpy Matrix Multiplication | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Numpy Matrix Multiplication

Is there a way to run numpy matrix multiplication on the Gpu? For example in my only code I have on my profile, in my feed forward function.

9th Oct 2019, 6:26 PM
Hakim
Hakim - avatar
1 Answer
0
You can't do that with numpy. But search for Numba, Theano, PyTorch or PyCUDA for different paradigms for accelerating Python with GPUs. You can use tensors in pytorch which works similar to numpy arrays and use GPU Acceleration.
30th Mar 2020, 11:40 AM
Mahesh C. Regmi
Mahesh C. Regmi - avatar