Sigmoid

class tf_encrypted.layers.activation.Sigmoid(input_shape: List[int])[source]

Sigmoid Layer

See:tf.nn.Sigmoid
backward(d_y)[source]

Backward pass for training.

forward(x)[source]

Forward pass for inference

get_output_shape() → List[int][source]

Returns the layer’s output shape

initialize()[source]

Initialize any necessary tensors.