box_embeddings.modules.regularization.tf_l2_side_regularizer
¶
Module Contents¶
- eps = 1e-23¶
- tf_l2_side_regularizer(box_tensor: box_embeddings.parameterizations.tf_box_tensor.TFBoxTensor, log_scale: bool = False) tensorflow.Tensor ¶
Applies l2 regularization on all sides of all boxes.
- Parameters
box_tensor – TODO
log_scale – mean in log scale
- Returns
(None)
- class TFL2SideBoxRegularizer(weight: float, log_scale: bool = False, reduction: str = 'sum')¶
Bases:
box_embeddings.modules.regularization.tf_regularizer.TFBoxRegularizer
Applies l2 regularization on side lengths.