code: def _qantization(dim: Dimension) -> float:
      """Convert precision to the quantization factor"""
      if dim.precision:
          return 10 ** (-dim.precision)
      return None
  
imports: from __future__ import annotations
  from copy import deepcopy
  from functools import singledispatch
  from math import log10
  from orion.algo.space import Categorical, Dimension, Fidelity, Integer, Real, Space, SpaceConverter, to_orionspace
label_desc: Use image node_id 1 for calling a global function with example usage: _qantization(dim) and returns: None, unknown