code: def spatial_norm_thresholding(x0, value):
      # b c h w
      s = x0.pow(2).mean(1, keepdim=True).sqrt().clamp(min=value)
      return x0 * (value / s)
  
imports: import torch
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: spatial_norm_thresholding(x0, value) and returns: unknown