class_docstr: Representation of a decision tree.
docstr: Create a decision tree representation.
  
  :param class_id: ID of the class to which this decision tree contributes.
  :param leaf_nodes: A list of leaf nodes of this decision tree.
docstr_tok: ["Create","a","decision","tree","representation",".",":","param","class_id",":","ID","of","the","class","to","which","this","decision","tree","contributes",".",":","param","leaf_nodes",":","A","list","of","leaf","nodes","of","this","decision","tree","."]
code: def __init__(
      self, class_id: Optional[int], leaf_nodes: List[LeafNode]
  ) -> None:
      """
      Create a decision tree representation.
  
      :param class_id: ID of the class to which this decision tree contributes.
      :param leaf_nodes: A list of leaf nodes of this decision tree.
      """
      self.class_id = class_id
      self.leaf_nodes = leaf_nodes
  
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 Tree object  with example: obj = Tree(class_id, leaf_nodes)