Perform the Leaky ReLU (Leaky Rectified Linear Unit) activation function on an input matrix:
where is a small positive constant (e.g. 0.01)
The Leaky ReLU function is defined as:
GPU Type
Language
Data Type
Loading editor...
CUDA C++ environment
Sample Run Results
Hit "Run" to test your code with sample inputs
For the best coding experience, please switch to a desktop device to write and submit your solution.