Linear Derivative
Functions
linear_derivative(Z)
Compute the derivative of the linear activation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Z |
ndarray
|
The input array. |
required |
Returns:
| Type | Description |
|---|---|
|
numpy.ndarray: An array of ones with the same shape as Z. |