Skip to content

About

Rust crate lstm-shapecalc

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lstm-shapecalc

Tiny Rust crate for LSTM parameter counts and output shapes (PyTorch nn.LSTM conventions) plus the classic Conv2d output-size formula — the same math behind the free heytensor.com PyTorch tensor shape calculator and RuntimeError debugger.

let n = lstm_shapecalc::params(128, 64, true); // 49408

MIT OR Apache-2.0

About

Rust crate lstm-shapecalc

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages