tfsnippet.layers.
l2_regularizer
Construct an L2 regularizer that computes the L2 regularization loss:
output = lambda_ * 0.5 * sum(input ** 2)
None
regularization term for input tensor. Will be None if lambda_ is None.
(tf.Tensor) -> tf.Tensor