Update math.py to include tanh elementwise op#14
Update math.py to include tanh elementwise op#14Henry-Chinner wants to merge 1 commit intoandersbll:masterfrom
Conversation
|
This was my first pull request ever, so hope I did it right :) . I added a tanh elementwise function. It seemed to be missing and intended to be included as there is a tanh_d. |
|
Hey, thank you for the proposal! I have intentionally left out Best, |
|
Ah great, Thanks Anders. While on the subject, are elementwise operations executed on the CPU or GPU. I did some monitoring and it seems like elementwise operations are performed on the CPU. Henry, |
|
Hey, I have just pushed a commit. In this new version of CUDArray you can check the backend by printing |
No description provided.