Skip to content

Data types #2728

Answered by laggui
wangjiawen2013 asked this question in Q&A
Discussion options

You must be logged in to vote

For unsigned integers, the user-facing API pretty much always uses usize over u32.

I think there might be some minor inconsistencies in the core::nn structs (some use f32, some f64), though the impact is minimal. You can see which types based on the struct or function signature / usage.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wangjiawen2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants