Calculate Z Method
Functions
calculate_Z(W, A_prev, b)
Calculate the linear combination Z = W * A_prev + b.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
W |
ndarray
|
Weight matrix of the current layer. |
required |
A_prev |
ndarray
|
Activation output from the previous layer. |
required |
b |
ndarray
|
Bias vector of the current layer. |
required |
Returns:
| Type | Description |
|---|---|
|
numpy.ndarray: The linear combination Z. |