Skip to content

Duplicate method definitions in tensor.py #2

Description

@Terminay

_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions