Reshape

class tf_encrypted.layers.reshape.Reshape(input_shape, output_shape=None)[source]

Reshape Layer

See:tf.keras.layers.Reshape
backward(*args, **kwargs)[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(*args, **kwargs) → None[source]

Initialize any necessary tensors.