summaryrefslogtreecommitdiff
path: root/candle-nn/src/var_map.rs
Commit message (Collapse)AuthorAgeFilesLines
* Update docs (#2553)zachcp2024-11-111-0/+2
| | | | | * add module docs for candle-core * doc each of the candle-nn modules and add the links to the doc page
* Tweak the VarMap set type. (#1758)Laurent Mazare2024-02-251-1/+1
|
* Use AsRef<str> for set_one. (#1033)Laurent Mazare2023-10-051-1/+1
|
* Use yoke to provide a self-referential container for mmaped safetenso… (#939)Laurent Mazare2023-09-231-11/+5
| | | | | | | | | * Use yoke to provide a self-referential container for mmaped safetensor files. * Add the new self-owned type for safetensor files without removing the previous version. * Add routing. * Add an initializer for the case of multiple files.
* VarMap setter functions (#938)Laurent Mazare2023-09-231-0/+38
| | | | | * Add some setter helper functions for varmap. * Add more comments.
* Move the VarMap to a separate file (#525)Laurent Mazare2023-08-201-0/+87
* Move the var-map struct in a separate file. * Fix some typos.