Tanh

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

Tanh Layer

See:tf.nn.tanh
backward(d_y, *args)[source]

backward is not implemented for Tanh

Raises:NotImplementedError
forward(x)[source]

Forward pass for inference

get_output_shape() → List[int][source]

Returns the layer’s output shape