lesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playgroundlesson 4 of 4 · mission: tensor playground
Complete the relu op — stage 2 of the mission: forward clamps negatives to zero; backward passes the gradient only where the input was positive.