Docs.rs
ruvector-data-framework-0.3.0
ruvector-data-framework 0.3.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
ruvnet
Dependencies
async-trait ^0.1
normal
chrono ^0.4
normal
clap ^4.5
normal
flate2 ^1.1
normal
futures ^0.3
normal
ndarray ^0.16
normal
num_cpus ^1.16
normal
quick-xml ^0.36
normal
rand ^0.8
normal
rayon ^1.10
normal
optional
reqwest ^0.12
normal
ruvector-onnx-embeddings ^0.1.0
normal
optional
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^1.0
normal
tokio ^1.0
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
urlencoding ^2.1
normal
warp ^0.3
normal
optional
rand ^0.8
dev
tempfile ^3.8
dev
tokio-test ^0.4
dev
tracing-subscriber ^0.3
dev
Versions
76.41%
of the crate is documented
Platform
aarch64-apple-darwin
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
normalize_vector
ruvector_
data_
framework
0.3.0
normalize_
vector
Sections
Arguments
In ruvector_
data_
framework::
utils
ruvector_data_framework
::
utils
Function
normalize_
vector
Copy item path
Source
pub fn normalize_vector(v: &mut [
f32
])
Expand description
Normalize a vector to unit length (L2 normalization)
ยง
Arguments
v
- Vector to normalize (modified in place)