keras2c icon indicating copy to clipboard operation
keras2c copied to clipboard

float vs double

Open roottreej opened this issue 1 year ago • 1 comments

Hello, Because it is possible to use keras in python with double precision keras.backend.set_floatx('float64') , will you insert a option to create model.c, model.h and model_test.c with double precision ?

Thank you, Julien

roottreej avatar Apr 26 '24 14:04 roottreej

The last commit on this project was 2y ago and there are PR with no response. If you want to use it I suggest to replace all "float" by the type you need using a script after the .c generation.

lucaskdc avatar May 15 '24 01:05 lucaskdc