Skip to content
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

feat!: this is now an automatic differentiation library #4

Merged
merged 1 commit into from
May 24, 2022
Merged

Conversation

c0dearm
Copy link
Owner

@c0dearm c0dearm commented May 24, 2022

Building neural networks at compile time was a very fun idea, but in practice it lacked a lot of flexibility.

For instance, you could only build sequential and static models, vs the directional acyclic and dynamic graphs that are required in most of the machine learning applications nowadays. Coding the derive macro to build the backward/reverse pass was also a feat not for the faint of heart, and I have a history!

This new approach takes the library closer to what a sane person would do, i.e. something like Tensorflow or PyTorch, and it works wonderfully!

@c0dearm c0dearm force-pushed the 0.2.0 branch 4 times, most recently from da5a8c4 to da0fc3b Compare May 24, 2022 17:03
@codecov-commenter
Copy link

codecov-commenter commented May 24, 2022

Codecov Report

Merging #4 (fceea1e) into main (01ca605) will decrease coverage by 19.46%.
The diff coverage is 74.12%.

@@             Coverage Diff             @@
##             main       #4       +/-   ##
===========================================
- Coverage   93.58%   74.12%   -19.47%     
===========================================
  Files           4        7        +3     
  Lines          78      286      +208     
===========================================
+ Hits           73      212      +139     
- Misses          5       74       +69     
Impacted Files Coverage Δ
src/context/storage.rs 10.00% <10.00%> (ø)
src/context/function.rs 46.29% <46.29%> (ø)
src/context/mod.rs 51.61% <51.61%> (ø)
src/tensor.rs 73.33% <73.33%> (ø)
src/gradient.rs 77.77% <77.77%> (ø)
src/context/tape.rs 81.81% <81.81%> (ø)
src/ops.rs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 01ca605...fceea1e. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants