code: def _scale_range(x, a, b):
      m = x.min()
      M = x.max()
      return (x - M) / (m - M) * (a - b) + b
  
imports: import os
  import torch
  import torch.optim
  import numpy
  from sklearn.metrics import auc
label_desc: Use image node_id 21 for calling a global function with example usage: _scale_range(x, a, b) and returns: unknown