11 releases
0.5.9 | Mar 28, 2022 |
---|---|
0.5.8 | Mar 19, 2022 |
0.2.4 | Jun 16, 2020 |
0.2.2 | May 28, 2020 |
0.1.2 | May 24, 2020 |
#657 in Machine learning
174 downloads per month
Used in 12 crates
(8 directly)
785KB
17K
SLoC
Write to tensorboard in Rust
Write TensorBoard events in Rust.
- Can write
scalar
,image
,histogram
.
Example
- Write multiple scalar in one plot.
let mut writer = SummaryWriter::new(&("./logdir".to_string()));
for n_iter in 0..100 {
let mut map = HashMap::new();
map.insert("x1".to_string(), (n_iter as f32));
map.insert("x^2".to_string(), (n_iter as f32) * (n_iter as f32));
writer.add_scalars("data/scalar_group", &map, n_iter);
}
writer.flush();
lib.rs
:
Write data for Tensorboard from Rust.
Introduction
Install
Example
Licese
Dependencies
~6.5MB
~89K SLoC