Files
mlx/tests
Awni Hannun 4ba0c24a8f Export / import functions to / from a file (#1642)
* export and import functions

* refactor + works for few primitives

* nit

* allow primitives with state

* nit

* nit

* simplify serialize / deserialize

* fix for constants

* python bindings

* maybe fix serialize failure case

* add example

* more primitives, training kind of works

* same result for python and c++

* some fixes

* fix export

* template it up

* some simplificatoin

* rebase

* allow kwargs and multiple functions

* exporter

* more primitives for exporting

* deal with endianness

* handle invalid stream

* add docstring
2024-12-24 11:19:13 -08:00
..
2024-01-11 11:57:24 -08:00
2024-12-11 07:47:18 -08:00
2023-11-30 11:12:53 -08:00
2024-07-25 09:36:44 -07:00
2024-12-19 08:08:20 -08:00
2024-12-19 08:08:20 -08:00
2023-11-30 11:12:53 -08:00
2023-11-30 11:12:53 -08:00
2024-12-19 08:08:20 -08:00