Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Tensor class lacks a public `backward` method

Đang mở
#67 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
machine-learning

Hướng nghiên cứu

Start in leanpass/tensor.py by reading how Tensor stores its _backward closures and how operations build the graph; then check the existing tests for gradient expectations. Implement the public backward() behavior described in the issue and add or run tests showing that gradients accumulate in topological order and intermediate states are cleared.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

File: leanpass/tensor.py

The core of an autodiff library is the ability to trigger gradient computation. Tensor defines _backward closures for each operation but never provides a public backward() method that traverses the graph and calls these closures. Users cannot compute gradients, making the library unusable for training. Implement a topological‑order backward pass that accumulates gradients and clears intermediate states.

Filed automatically by ai-issue-scan.

Ngôn ngữ chính
Python
Star
16
Fork
1
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Terminay/leanpass

Tất cả issue của Terminay/leanpass

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.