Files
mlx/python/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-12-16 18:37:57 -08:00
2024-06-14 09:52:26 -07:00
2024-07-26 10:40:49 -07:00
2024-07-25 09:36:44 -07:00
2024-01-08 16:39:08 -08:00
2024-10-25 09:35:33 -07:00
2024-11-21 19:53:00 -08:00