Very deep plain networks are hard to train because gradients vanish through many nonlinear layers. Highway networks (Srivastava, Greff & Schmidhuber, 2015) let each layer learn how much of its input to carry forward unchanged, using a learned gate.
Implement highway_gate(x, W, b), which returns the transform gate t = sigmoid(x W^T + b) for each feature.
(0, 1).W is square with shape (D, D).Compute z = x @ W.T + b and apply the logistic function element-wise.
No results yet
Run your code to check it against the examples, or submit to run every test.