Node.py
def _to_json_children(self):
        """
            Support function for printing the json tree
        """
        node = {"name": self.name, "uid": self.uid, "loss": self.loss, "children": []}
        for n in self.children:
            node["children"].append(n._to_json_children())
        return node

            Support function for printing the json tree
        
Support function for printing the json tree
Support function for printing the json tree
def _to_json_children(self):
        node = {"name": self.name, "uid": self.uid, "loss": self.loss, "children": []}
        for n in self.children:
            node["children"].append(n._to_json_children())
        return node
def _to_json_children ( self ) : node = { "name" : self . name , "uid" : self . uid , "loss" : self . loss , "children" : [ ] } for n in self . children : node [ "children" ] . append ( n . _to_json_children ( ) ) return node
Support function for printing the json tree
Support function for printing the json tree
"""
            Support function for printing the json tree
        """
self