code: def range_loss(input):
      return (input - input.clip(-1, 1)).pow(2).mean([1, 2, 3])
  
file_path: PaddleHub/modules/image/text_to_image/disco_diffusion_cnclip_vitb16/reverse_diffusion/model/losses.py
imports: import numpy
  import paddle
  import paddle.nn.functional
label_desc: Use image node_id 6 for calling a global function with example usage: range_loss(input) and returns: unknown