_graph_nodes(), grad_check(), _eval_forward(), and zero_grad_all() are each defined twice in leanpass/tensor.py (lines 348/466, 365/483, 401/528, 459/577)
The second definitions silently override the first.
The two _eval_forward() implementations are also different, one uses a dict lookup, the other mutates node.data directly.
_graph_nodes(),grad_check(),_eval_forward(), andzero_grad_all()are each defined twice inleanpass/tensor.py(lines 348/466, 365/483, 401/528, 459/577)The second definitions silently override the first.
The two
_eval_forward()implementations are also different, one uses a dict lookup, the other mutatesnode.datadirectly.