Skip to main content

Module regularizer

Module regularizer 

Source
Expand description

L1/L2/ElasticNet regularization for tensor parameters.

Provides regularization penalty and gradient computation to prevent overfitting during tensor-based optimization and training loops.

Structs§

RegularizerConfig
Configuration for a TensorRegularizer.
RegularizerStats
Runtime statistics for a TensorRegularizer.
TensorRegularizer
L1/L2/ElasticNet regularization for tensor weight vectors.

Enums§

RegularizerType
Type of regularization to apply.