code: def value2position(self, value: list) -> list:
      position = []
      for n, space_dim in enumerate(self.s_space.values_l):
          pos = np.abs(value[n] - np.array(space_dim)).argmin()
          position.append(int(pos))
  
      return position
  
file_path: Hyperactive/hyperactive/optimizers/hyper_gradient_conv.py
imports: import numpy
  import pandas
label_desc: Use image node_id 2 for calling the HyperGradientConv obj's underlying member method code with example usage: obj.value2position(value) and returns: position