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

started the burn developer book #1184

Merged
merged 33 commits into from
Feb 5, 2024
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
260f93b
started the burn developer book
skewballfox Jan 26, 2024
d9a637f
forgot to enable mathjax for mdbook
skewballfox Jan 26, 2024
8fc11bb
copied the contents of architecture.md, and fleshing things out
skewballfox Jan 26, 2024
c1b4dae
fixed issue with inline mathjax
skewballfox Jan 26, 2024
e2738a8
fixed typos, added instructions
skewballfox Jan 26, 2024
79c29c6
updating info on tensorops, fixing typos
skewballfox Jan 27, 2024
cc93bab
added test for powf, fixed typos, updated index, etc
skewballfox Jan 27, 2024
fb64d11
fixed issue with burn-wgpu 0^0
skewballfox Jan 28, 2024
bcc232e
formatting
skewballfox Jan 28, 2024
227a5ea
updated section for adding ops to wgpu
skewballfox Jan 28, 2024
9ea4498
changed powf_scalar to powf_primitive for wgpu code
skewballfox Jan 29, 2024
15c0212
Update contributor-book/src/getting-started/testing.md
skewballfox Jan 29, 2024
f408eff
Update contributor-book/src/guides/adding-a-new-operation-to-burn.md
skewballfox Jan 29, 2024
b4f84d0
Update contributor-book/src/guides/adding-a-new-operation-to-burn.md
skewballfox Jan 29, 2024
151f444
Update contributor-book/src/getting-started/testing.md
skewballfox Jan 29, 2024
8c67766
Update contributor-book/src/getting-started/testing.md
skewballfox Jan 29, 2024
b312607
Update contributor-book/src/getting-started/setting-up-the-environmen…
skewballfox Jan 29, 2024
5ac299a
implementeds suggestions by @syl20bnr
skewballfox Jan 29, 2024
c4ee85b
fixed typography
skewballfox Jan 29, 2024
f63a79d
Apply suggestions from code review
skewballfox Jan 29, 2024
07db8ad
fixed typos, and incorrect rendering of footnotes
skewballfox Jan 29, 2024
1f89007
Format the text using prettier
antimora Jan 31, 2024
20057bf
implemented suggestions
skewballfox Jan 31, 2024
f0ba1d2
implemented suggestion
skewballfox Jan 31, 2024
418a08a
Merge branch 'main' into contributor-book
skewballfox Feb 1, 2024
3ea3219
updated testing autodiff section
skewballfox Feb 1, 2024
2739781
fixed typo
skewballfox Feb 1, 2024
5d06209
Apply suggestions from code review
skewballfox Feb 2, 2024
726d232
fixes related to code review
skewballfox Feb 2, 2024
e9ee469
added links to discord server
skewballfox Feb 2, 2024
c1f6304
fixed a typo in the book xtask and implemented changes from code review
skewballfox Feb 2, 2024
b3e84ef
implemented suggestions from code reviews
skewballfox Feb 2, 2024
6d9c783
implemented suggestions from code review
skewballfox Feb 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update contributor-book/src/getting-started/testing.md
Co-authored-by: Sylvain Benner <[email protected]>
  • Loading branch information
skewballfox and syl20bnr committed Jan 29, 2024
commit 151f444f47ebf07a5c6cdd17141d176385ff942a
2 changes: 1 addition & 1 deletion contributor-book/src/getting-started/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Test for autodiff go under [burn-autodiff/src/tests/{op_name}.rs](https://github

1. use small tensors with simple values
2. pop open a terminal, launch `ipython` and import `numpy` then do the calculations by hand. You can also use [google colab](https://colab.google/) if you prefer so that you don't have to install the packages on your system.
skewballfox marked this conversation as resolved.
Show resolved Hide resolved
3. comparing the actual to expected output for lhs, rhs and regular operation
3. compare the actual output to the expected output for lhs, rhs and regular operation

generally, it seems preferable to use `actual_output_tensor.into_data().assert_approx_eq(&expected_tensor_data,3)` to `assert_eq!(...` due to occasional hiccups with floating point calculations.