Sorry for late reply. A busy day today ; (
Sadly, it didn’t work. the result was still -nan -nan -nan. And I’m a little confused about two points:
The first one is, the position of the patch. The code was added in graph_runtime.cc in nnvm instead of tvm. I guess what your idea is to convert the byte order during writing the parameters, not the loading part.
The second one is, I didn’t use the graph_runtime.cc (in nnvm) either in generating model (so params and json files using python) or loading the model (only tvm using C++). Maybe we should move the patch into somewhere in tvm? Or just edit the patch in python?
Thanks.
(I tried to reply you many times but my network got crushed,I could not send message. Apologize for late reply again.)