class_docstr: Representation of a box of intervals bounds.
docstr: A box of intervals.
  
  :param intervals: A dictionary of intervals with features as keys.
docstr_tok: ["A","box","of","intervals",".",":","param","intervals",":","A","dictionary","of","intervals","with","features","as","keys","."]
code: def __init__(
      self, intervals: Optional[Dict[int, Interval]] = None
  ) -> None:
      """
      A box of intervals.
  
      :param intervals: A dictionary of intervals with features as keys.
      """
      if intervals is None:
          self.intervals = {}
      else:
          self.intervals = intervals
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  from typing import Dict, List, Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  from tqdm.auto import trange
  from art.utils import check_and_transform_label_format
label_desc: Use image node_id 1 to create a new Box object  with example: obj = Box(intervals)