code: def calculate_quantization_grid(
      values, border_count, border_type="Median"
  ):
      assert border_count > 0, "Border count should be > 0"
      return _calculate_quantization_grid(
          values, border_count, border_type
      )
  
imports: from .None import _catboost
  from .core import Pool, CatBoostError, ARRAY_TYPES, PATH_TYPES, fspath, _update_params_quantize_part, _process_synonyms
  from collections import defaultdict
  from contextlib import contextmanager
  import sys
  import numpy
  import warnings
label_desc: Use image node_id 15 for calling a global function with example usage: calculate_quantization_grid(values, border_count, border_type) and returns: _calculate_quantization_grid