class_docstr: Pair for :class:`bool` inputs.
  
  .. note::
  
      If ``numpy`` is available, also handles :class:`numpy.bool_` inputs.
class_docstr_tok: ["Pair","for",":","class",":","`","bool","`","inputs",".","..","note",":",":","If","``","numpy","``","is","available",",","also","handles",":","class",":","`","numpy.bool_","`","inputs","."]
code: def __init__(
      self,
      actual: Any,
      expected: Any,
      *,
      id: Tuple[Any, ...],
      **other_parameters: Any,
  ) -> None:
      actual, expected = self._process_inputs(actual, expected, id=id)
      super().__init__(actual, expected, **other_parameters)
  
imports: import abc
  import cmath
  import collections.abc
  import contextlib
  import warnings
  from typing import Any, Callable, Collection, Dict, List, NoReturn, Optional, Sequence, Tuple, Type, Union
  import torch
label_desc: Use image node_id 1 to create a new BooleanPair object from inherited base classes: Pair with example: obj = BooleanPair(actual, expected)