code: def permissive_loss(deformed_kpoints, radius):
      """This loss is responsible to penalize deformed_kpoints to
      move outside from the radius defined for the convolution
      """
      norm_deformed_normalized = torch.norm(
          deformed_kpoints, p=2, dim=-1
      ) / float(radius)
      permissive_loss = torch.mean(
          norm_deformed_normalized[norm_deformed_normalized > 1.0]
      )
      return permissive_loss
  
imports: import torch
label_desc: Use image node_id 3 for calling a global function with example usage: permissive_loss(deformed_kpoints, radius) and returns: permissive_loss