class_docstr: The network morphism search tree.
class_docstr_tok: ["The","network","morphism","search","tree","."]
docstr: A recursive function to return the content of the tree in a dict.
docstr_tok: ["A","recursive","function","to","return","the","content","of","the","tree","in","a","dict","."]
code: def get_dict(self, u=None):
      """A recursive function to return the content of the tree in a dict."""
      if u is None:
          return self.get_dict(self.root)
      children = []
      for v in self.adj_list[u]:
          children.append(self.get_dict(v))
      ret = {"name": u, "children": children}
      return ret
  
imports: import math
  import random
  from copy import deepcopy
  from functools import total_ordering
  from queue import PriorityQueue
  import numpy
  from scipy.linalg import LinAlgError, cho_solve, cholesky, solve_triangular
  from scipy.optimize import linear_sum_assignment
  from sklearn.metrics.pairwise import rbf_kernel
  from nni.utils import OptimizeMode
  from .graph_transformer import transform
  from .utils import Constant
  from .layers import is_layer
label_desc: Use image node_id 3 for calling the SearchTree obj's underlying member method code with example usage: obj.get_dict(u) and returns: ret, self