Docs.rs
torsh-python-0.1.0-alpha.1
torsh-python 0.1.0-alpha.1
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
cool-japan
Dependencies
anyhow ^1.0
normal
num-traits ^0.2
normal
numpy ^0.26
normal
parking_lot ^0.12
normal
pyo3 ^0.26
normal
thiserror ^2.0
normal
torsh-core ^0.1.0-alpha.1
normal
Versions
100%
of the crate is documented
Platform
i686-unknown-linux-gnu
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
validate_learning_rate
torsh_
python
0.1.0-alpha.1
In torsh_
python::
utils::
validation
torsh_python
::
utils
::
validation
Function
validate_
learning_
rate
Copy item path
Source
pub fn validate_learning_rate(lr:
f32
) ->
PyResult
<
()
>
Expand description
Validate that a learning rate is positive