Code QuizIntermediate

Forward Pass Through a Layer

Spot the missing term in a single-layer forward propagation function.

Codepython
import numpy as np

def forward(x, W, b):
    # W: (out, in), x: (in,), b: (out,)
    z = np.dot(W, x)
    a = np.maximum(0, z)
    return a

What is the bug in this forward propagation function?