- Notifications
You must be signed in to change notification settings - Fork79
Closed
Description
Issue Type
Others
onnx2tf version number
1.7.2
onnx version number
1.13.1
tensorflow version number
2.12.0rc0
Download URL for ONNX
N/A
Parameter Replacement JSON
N/A
Description
- Personal
- [TODO] Re-release
flatc
with some customizations of our own to address the lack of arithmetic precision of the quantization parameters - Source code
https://github.com/PINTO0309/flatbuffers
flatbuffers/include/flatbuffers/util.h
- From:
template<>inline std::string NumToString<double>(double t) {returnFloatToString(t,12);}template<>inline std::string NumToString<float>(float t) {returnFloatToString(t,6);}
- To:
template<>inline std::string NumToString<double>(double t) {returnFloatToString(t,12);}template<>inline std::string NumToString<float>(float t) {returnFloatToString(t,17);}
- From:
build
cd flatbuffers&& mkdir build&&cd buildcmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..make -j$(nproc)