-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructuring C++ project #3146
Restructuring C++ project #3146
Conversation
47c8bc9
to
ac94f03
Compare
Codecov Report
@@ Coverage Diff @@
## master #3146 +/- ##
=======================================
Coverage 72.75% 72.75%
=======================================
Files 99 99
Lines 8979 8979
Branches 1431 1431
=======================================
Hits 6533 6533
Misses 1999 1999
Partials 447 447 Continue to review full report at Codecov.
|
6ee60e2
to
df7f550
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks great, thanks a lot!
A few high level things we could do in a follow-up:
- split (if possible) the autograd bits into its own folder, as it's a backend as the others
- re-structure the video parts, as now they are scattered over 3 different folders (but needs some planning before doing it)
Summary: * Reduce unnecessary header inclusions in models and io. * Move autocast to separate folder and hide autograd implementation in an anonymous namespace. * Moving files in subfolders. Reviewed By: fmassa Differential Revision: D25461523 fbshipit-source-id: 756eeb6848aacaa474de4825ed4c1045d17e2cea
df7f550
to
3420106
Compare
POC for restructuring the C++ project based on discussions with @fmassa
ops
.io
.autocast
in a separate folder inops
.autograd
forward/backward methods in an anonymous namespace.models
andio
.