File: leanpass/tensor.py
The private method _eval_forward is truncated after handling the '+' operation and never returns a value. grad_check relies on this method to compute forward passes with perturbed parameters. As it stands, calling grad_check will raise an exception or return None. Complete the implementation for all supported ops or raise a clear NotImplementedError if the method is intentionally unfinished.
Filed automatically by ai-issue-scan.
File:
leanpass/tensor.pyThe private method
_eval_forwardis truncated after handling the'+'operation and never returns a value.grad_checkrelies on this method to compute forward passes with perturbed parameters. As it stands, callinggrad_checkwill raise an exception or returnNone. Complete the implementation for all supported ops or raise a clearNotImplementedErrorif the method is intentionally unfinished.Filed automatically by ai-issue-scan.