code: def l2_regression(
      input_, target, name=PROVIDED, loss_weight=None,
      per_example_weights=None):
    
    target = _convert_and_assert_tensors_compatible(input_, target)
    return apply_regression(input_,
                            functions.l2_regression_sq_loss,
                            target,
                            [],
                            name='%s_loss' % name,
                            loss_weight=loss_weight,
                            per_example_weights=per_example_weights)
docs: Applies an L2 Regression (Sum of Squared Error) to the target.