class_docstr: A GridSpace class for agents, variables and methods
  related to the grid search space.
class_docstr_tok: ["A","GridSpace","class","for","agents",",","variables","and","methods","related","to","the","grid","search","space","."]
docstr: Grid with possible search values.
docstr_tok: ["Grid","with","possible","search","values","."]
code: def grid(self) -> np.ndarray:
      """Grid with possible search values."""
  
      return self._grid
  
file_path: opytimizer/opytimizer/spaces/grid.py
imports: import copy
  from typing import List, Optional, Tuple, Union
  import numpy
  import opytimizer.utils.exception
  from opytimizer.core import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 4 for calling the GridSpace obj's underlying member method code with example usage: obj.grid() and returns: self