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

Refactor/optim #272

Merged
merged 13 commits into from
Apr 5, 2023
Prev Previous commit
Add comment
  • Loading branch information
nathanielsimard committed Apr 5, 2023
commit 605a0b3da4b79b02e2ba1052e263dba0d0698459
2 changes: 2 additions & 0 deletions burn-core/src/record/primitive.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use alloc::string::String;
use alloc::string::ToString;
use alloc::vec::Vec;

Expand Down Expand Up @@ -129,6 +130,7 @@ primitive!(bool);
primitive!(f64);
primitive!(f32);

// TODO: Remove the feature flag when half supports serde with no_std
#[cfg(feature = "std")]
primitive!(half::bf16);
#[cfg(feature = "std")]
Expand Down