Looking at posts from a couple of years back on HN/Reddit/SO about TF vs Pytorch, the only plus side of using TF was the ease of deployment, especially on the mobile side with Tensorflow Lite.
But I imagine that story is changing with the advent of Pytorch Mobile, ONNX, and that Pytorch itself supports XNNPack.
If anyone has any tips or insights as to ease of mobile deployment using TF vs using Pytorch, please share!
It performs fixed-point arithmetic on 8-bit integers. You can mimick lower than 8-bit precision by using output_min/output_max parameters in XNNPACK operators, but keep in mind that:
1. This functionality is experimental and not exposed in TFLite. You'd need to call XNNPACK APIs directly from C/C++ code.
2. Computations would still be done on 8-bit numbers.
davidatbu|4 years ago
But I imagine that story is changing with the advent of Pytorch Mobile, ONNX, and that Pytorch itself supports XNNPack.
If anyone has any tips or insights as to ease of mobile deployment using TF vs using Pytorch, please share!
aborsy|4 years ago
Both training-aware and post training.
Marat_Dukhan|4 years ago
0-_-0|4 years ago
Marat_Dukhan|4 years ago
elephantum|4 years ago
Should I consider XNNPACK for a modern mobile phone?
unknown|4 years ago
[deleted]
elephantum|4 years ago
elephantum|4 years ago