code: def map_to_bounds(pts, bounds):
      """Given a point in [0,1]^d, returns the representation in the original space."""
      return pts * (bounds[:, 1] - bounds[:, 0]) + bounds[:, 0]
  
imports: from __future__ import print_function
  from __future__ import division
  import numpy
  from scipy.sparse import dok_matrix
  from scipy.linalg import solve_triangular
label_desc: Use image node_id 2 for calling a global function with example usage: map_to_bounds(pts, bounds) and returns: unknown