Numpy is a widely used python library. It runs on CPU mainly. Sometimes machine learning deal with a huge amount of data set. Cupy is a similar library that works on cuda GPUs. While running on GPU, it mainly speeds up the arithmetic operations on large size arrays.
Installation of Cupy:
https://cupy.chainer.org/
Thursday, August 29, 2019
Subscribe to:
Comments (Atom)
CSES Subtree Queries
You are given a rooted tree consisting of n nodes. The nodes are numbered 1,2,…,n, and node 1 is the root. Each node has a value. Your...
-
You are given a rooted tree consisting of n nodes. The nodes are numbered 1,2,…,n, and node 1 is the root. Each node has a value. Your...
-
Problem : Find the value of $(a^{b^c})mod(10^9+7)$ where $1\le n\le 10^5$ and $1\le a,b,c \le 10^9$ In order to solve this problem, we...
-
Why should we add a $\lambda$ to the matrix? 1. To reduce the value of the weights $\omega$. 2. Make $X^{T}X$ invertible. 3. Prevent ove...