bloqade.analog.tree_depth
← Module overview
function
source
functiontree_depth¶source
bloqade.analog.tree_depth
def tree_depth(depth: int = None)Setting globally maximum depth for tree printing
If depth=None, return current depth.
If depth is provided, setting current depth to depth
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
depth | int | None | the user specified depth. Defaults to None. |
Returns
int: current updated depth