code: def _create_uniform_grid_only_border(n_dim, order):
      assert n_dim > 0
      assert order > 1
      x = [[0.0, 1.0]] * (n_dim - 1)
      x.append(list(np.arange(0, order) / (order - 1.0)))
      x_data = _quadrature_combine(x)
      return x_data
  
file_path: scikit-optimize/skopt/sampler/grid.py
imports: import numpy
  from .base import InitialPointGenerator
  from ..space import Space
  from sklearn.utils import check_random_state
label_desc: Use image node_id 4 for calling a global function with example usage: _create_uniform_grid_only_border(n_dim, order) and returns: x_data