easy5 pts · first answer countsactivationsnumpy
ReLU applied to a vector
What does this NumPy code print?
import numpy as np x = np.array([-2, 0, 3]) print(np.maximum(0, x))
Discussion 0
Join free to post in the discussion.
Related questions
- Broadcasting a column and a rowMachine Learning Engineer
- Why sigmoid slows deep trainingMachine Learning Engineer
- Range of tanhMachine Learning Engineer
- Slope of the sigmoid at zeroMachine Learning Engineer
- ReLU gradient below zeroMachine Learning Engineer
- Neurons that always output zeroMachine Learning Engineer
- Activation in BERT and GPT feed-forwardsMachine Learning Engineer
- tanh slope from its outputMachine Learning Engineer