Originally created by @uday2005 on GitHub (Mar 15, 2026).
While going through Module 06, I noticed that the Function base class checks for _grad_fn on tensors inside init, but the Tensor class at this point in the curriculum has no _grad_fn attribute at all and I checked the next two module
as well and there is no mention anywhere of making changes to the Tensor class to add this attribute.
Originally created by @uday2005 on GitHub (Mar 15, 2026).
While going through Module 06, I noticed that the Function base class checks for _grad_fn on tensors inside __init__, but the Tensor class at this point in the curriculum has no _grad_fn attribute at all and I checked the next two module
as well and there is no mention anywhere of making changes to the Tensor class to add this attribute.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @uday2005 on GitHub (Mar 15, 2026).
While going through Module 06, I noticed that the Function base class checks for _grad_fn on tensors inside init, but the Tensor class at this point in the curriculum has no _grad_fn attribute at all and I checked the next two module
as well and there is no mention anywhere of making changes to the Tensor class to add this attribute.