Docs.rs
logosq-optimizer-0.1.0
logosq-optimizer 0.1.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
WeaveITMeta
Dependencies
cudarc ^0.10
normal
optional
ndarray ^0.15
normal
ndarray-linalg ^0.16
normal
optional
num-traits ^0.2
normal
rand ^0.8
normal
serde ^1.0
normal
thiserror ^1.0
normal
tracing ^0.1
normal
approx ^0.5
dev
criterion ^0.5
dev
Versions
86.96%
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
gradient_norm
logosq_
optimizer
0.1.0
logosq_optimizer
Function
gradient_
norm
Copy item path
Source
pub fn gradient_norm(gradient: &[
f64
]) ->
f64
Expand description
Compute the L2 norm of a gradient vector.