code: def sphere(x: np.ndarray) -> float:
      assert x.ndim == 1
      return float(x.dot(x))
  
imports: from typing import List, Callable, Optional
  from math import exp, sqrt
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: sphere(x) and returns: float