regularizer
[ allennlp.nn.regularizers.regularizer ]
Regularizer Objects#
class Regularizer(Registrable)
An abstract class representing a regularizer. It must implement call, returning a scalar tensor.
default_implementation#
default_implementation = "l2"