src.model.deeplearn.regularizer.features_orthogonal_regularizer

Classes

FeaturesOrthogonalRegularizer(**kwargs)

FeaturesOrthogonalRegularizer regularizer to enforce orthogonality in the feature space.

class src.model.deeplearn.regularizer.features_orthogonal_regularizer.FeaturesOrthogonalRegularizer(**kwargs)

FeaturesOrthogonalRegularizer regularizer to enforce orthogonality in the feature space. Taken from the Keras web documentation on 2023-07-19 https://keras.io/examples/vision/pointnet

__init__(**kwargs)

Initialize the FeaturesOrthogonalRegularizer regularizer. See regularizer.Regularizer.__init__().

__call__(x, training=False, mask=False)

The computational logic of the features orthogonal regularizer. See regularizer.Regularizer.__call__(). :param x: The input tensor.

get_config()

Obtain the dictionary specifying how to serialize the features orthogonal regularizer.

Returns:

The dictionary with the necessary data to serialize the features orthogonal regularizer.

Return type:

dict

classmethod from_config(cfg)

Deserialize a features ortoghonal regularizer from given specification.

Parameters:

cfg – The dictionary specifying how to deserialize the regularizer.

Returns:

The deserialized orthogonal regularizer.

Return type:

:class:.FeaturesOrthogonalRegularizer`