Skip to content


Here are 574 public repositories matching this topic...

nickhuangxinyu commented Sep 25, 2021

usually, after trained model. i save model in cpp format with code:

cat_model.save_model('a', format="cpp")
cat_model.save_model('b', format="cpp")

but when my cpp need to use multi models.

in my main.cpp

#include "a.hpp"
#include "b.hpp"

int main() {
  // do something
  double a_pv = ApplyCatboostModel({1.2, 2.3});  // i want to a.hpp's model here
  double b_pv 

TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source efforts. TNN has been deployed in multiple Apps from Tencent, such as Mobile QQ, Weishi, Pitu, etc. Contributions are welcome to work in collaborative with us and make TNN a better framework.

  • Updated Oct 19, 2021
  • C++
Vico-Lu commented Oct 6, 2020

🐞Describe the bug

Converting Frontend cannot be 100% converted when pytorch model is converted to MLmodel. I get a warning


`TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other

A repository that shares tuning results of trained models generated by TensorFlow / Keras. Post-training quantization (Weight Quantization, Integer Quantization, Full Integer Quantization, Float16 Quantization), Quantization-aware training. TensorFlow Lite. OpenVINO. CoreML. TensorFlow.js. TF-TRT. MediaPipe. ONNX. [.tflite,.h5,.pb,saved_model,tfjs,tftrt,mlmodel,.xml/.bin, .onnx]

  • Updated Oct 19, 2021
  • Python

Improve this page

Add a description, image, and links to the coreml topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the coreml topic, visit your repo's landing page and select "manage topics."

Learn more