Content deleted Content added
Line 31:
# Mean and variance of each feature
mu = np.mean(x, axis=0) # shape (N,)
# Normalize the activations
x_hat = (x - mu) / np.sqrt(
# Apply the linear transform
|
Line 31:
# Mean and variance of each feature
mu = np.mean(x, axis=0) # shape (N,)
# Normalize the activations
x_hat = (x - mu) / np.sqrt(
# Apply the linear transform
|