Docs.rs
tiny-recursive-rs-0.1.0
tiny-recursive-rs 0.1.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
magnus-trent
Dependencies
anyhow ^1.0
normal
candle-core ^0.8
normal
candle-nn ^0.8
normal
candle-optimisers ^0.10.0-alpha.1
normal
env_logger ^0.11
normal
log ^0.4
normal
ndarray ^0.17
normal
ndarray-npy ^0.10
normal
num-traits ^0.2
normal
rand ^0.8
normal
rand_distr ^0.4
normal
safetensors ^0.4
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^1.0
normal
Versions
80.61%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
count_parameters
tiny_
recursive_
rs
0.1.0
In tiny_
recursive_
rs::
utils
tiny_recursive_rs
::
utils
Function
count_
parameters
Copy item path
Source
pub fn count_parameters(tensor: &
Tensor
) ->
usize
Expand description
Calculate the number of parameters in a tensor