Reshape

class tf_encrypted.layers.reshape.Reshape(input_shape: List[int], output_shape: List[int] = [-1])[source]
backward(*args, **kwargs)[source]

The backward pass for training.

forward(x)[source]

Forward pass for inference

get_output_shape() → List[int][source]

Returns the layer’s output shape