TensorFlow: Speed Up NumPy by over 10,000x with GPUs
Last Updated on July 21, 2023 by Editorial Team
Author(s): Louis Chan
Originally published on Towards AI.
Code
Photo by Marc-Olivier Jodoin on Unsplash
If you have used Python for any data processing, you have most likely used NumPy (short for Numerical Python). It provides a rich arsenal of complex data types and efficient matrix manipulation functions. Its C-accelerated implementation of vectorisable functions has earned it its reputation for processing n-dimensional array at lightning speed. But can we go faster than that?
NumPyβs C-accelerated implementation of vectorisable functions enables us to efficiently process large multi-dimensional arrays
In comes, TensorFlowβs take on NumPy API.
Thanks to TensorFlowβs GPU acceleration, we can now run NumPy situationally even faster than we can already β faster… Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.
Published via Towards AI