Implement the sigmoid activation function.
Signature: def sigmoid(x: np.ndarray) -> np.ndarray
def sigmoid(x: np.ndarray) -> np.ndarray
sigmoid(0) = 0.5
Math
Related problems
Asked at
Output
Anything you print() in your code will show up here after you click Run.
print()
Test Results