code: def _lerp(x, x0, x1, y0, y1):
      """Affinely map from [x0, x1] onto [y0, y1]."""
      return y0 + (x - x0) * float(y1 - y0) / (x1 - x0)
  
file_path: tensorboard/tensorboard/plugins/distribution/compressor.py
imports: import dataclasses
  import numpy
  from typing import Tuple
label_desc: Use image node_id 3 for calling a global function with example usage: _lerp(x, x0, x1, y0, y1) and returns: unknown