How to convter mxnet model float32 to float16?


#1

I have a mxnet model whose dtype=float32.I want to play float16.How can I do? Thank you very much.


#2

Not sure I understood the question !!!

Do you want to convert all params and operator dimensions to float16 ? It may affect the results.


#3

I see you are using mali backend.
some discussions here https://github.com/merrymercy/tvm-mali/issues/3

I posted a script for converting float32 weight to float16 directly, but the accuracy is not tested.