Name |
Last commit
|
Last update |
---|---|---|
.. | ||
reflection.cc | ||
serialization.cc |
* fix serialization precision loss in float When we want to serialize a tvm.tensor object(like pickle), we will get a precision loss cause by std::to_string()。 For example, a2.value will be 0.0 while a.value=0.00000001 in the following: import tvm import pickle a = tvm.const(0.00000001, 'float32') a2 = pickle.loads(pickle.dumps(a)) * remove line end spaces
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
reflection.cc | Loading commit data... | |
serialization.cc | Loading commit data... |