"""Computes the gradients for sigmoid.
op: The sigmoid Operation that we are differentiating
grad: Gradient with respect to the output of the sigmoid op.
Gradients with respect to the input of sigmoid.