class_docstr: Discretizes an **AttentionActionSpace**. The attention action space defines the actions
  as choosing sub-boxes in a given box. For example, consider an image of size 100x100, where the action is choosing
  a crop window of size 20x20 to attend to in the image. AttentionDiscretization allows discretizing the possible crop
  windows to choose into a finite number of options, and map a discrete action space into those crop windows.
  
  Warning! this will currently only work for attention spaces with 2 dimensions.
docstr: :param num_bins_per_dimension: Number of discrete bins to use for each dimension of the action space
  :param force_int_bins: If set to True, all the bins will represent integer coordinates in space.
code: def __init__(
      self,
      num_bins_per_dimension: Union[int, List[int]],
      force_int_bins=False,
  ):
      """
      :param num_bins_per_dimension: Number of discrete bins to use for each dimension of the action space
      :param force_int_bins: If set to True, all the bins will represent integer coordinates in space.
      """
      # we allow specifying either a single number for all dimensions, or a single number per dimension in the target
      # action space
      self.num_bins_per_dimension = num_bins_per_dimension
  
      self.force_int_bins = force_int_bins
  
      # TODO: this will currently only work for attention spaces with 2 dimensions. generalize it.
  
      super().__init__()
  
file_path: coach/rl_coach/filters/action/attention_discretization.py
imports: from typing import Union, List
  import numpy
  from rl_coach.filters.action.box_discretization import BoxDiscretization
  from rl_coach.filters.action.partial_discrete_action_space_map import PartialDiscreteActionSpaceMap
  from rl_coach.spaces import AttentionActionSpace, BoxActionSpace, DiscreteActionSpace
label_desc: Use image node_id 1 to create a new AttentionDiscretization object from inherited base classes: PartialDiscreteActionSpaceMap with example: obj = AttentionDiscretization(num_bins_per_dimension, force_int_bins)