What is the difference between the model.h and model.cc files used in tinyml in tensorflow lite for microcontrollers? After optimizing my model and converting it to be used on a 32bit ARM Cortex microcontroller I got only the model.cc file. However in all the tutorials that I have seen both the .h and .cc files are used. Where does the .h file come from?
Difference between model.h and model.cc in tensorflow lite for microcontrollers
307 Views Asked by Atia At
2
There are 2 best solutions below
Related Questions in TENSORFLOW
- (Tensorflow)Does the op assign change the gradient computation?
- Tensorflow Windows Accessing Folders Denied:"NewRandomAccessFile failed to Create/Open: Access is denied. ; Input/output error"
- Android App TensorFlow Google Cloud ML
- Convert Tensorflow model to Caffe model
- Google Tensorflow LSTMCell Variables Mapping to Hochreiter97_lstm.pdf paper
- additive Gaussian noise in Tensorflow
- TFlearn evaluate method results meaning
- Regularization losses Tensorflow - TRAINABLE_VARIABLES to Tensor Array
- feed picture to model tensorflow for training
- Fail to read the new format of tensorflow checkpoint?
- I got a error when running a github project in tensorflow
- Tensorflow R0.12 softmax_cross_entropy_with_logits ASSERT Error
- RuntimeError in run_one_batch of TensorFlowDataFrame in tensorflow
- Same output in neural network for each input after training
- ConvNet : Validation Loss not strongly decreasing but accuracy is improving
Related Questions in ARM
- Why Device Tree Structure (DTS) file is needed both in bootloader and kernel source code?
- How can I use LD to place ARM reset vectors in a program segment
- Errors in makefile for qemu 0.14.1 in ubuntu 15.04 64 bit
- Text as parameter in inline assembly (ARM)?
- GSL: nm outputs "undefined Symbol (U)"
- How to address multiple definition compiler error
- Did anyone compiled GSL for androind?
- Linker Error on cross compiling Project in eclipse
- How to set privilaged mode in ARM Cortex-A8?
- Why is a write to a memory-mapped peripheral register not actioned (LPC43xx)?
- what's ARM TCM memory
- Traversing a string using arm assembly inside V8 source
- C Global declared in ISR
- Which is better? int8_t vs int32_t in 32 bits MCU
- Cannot find -lgtk-x11-2.0. Also, some modules are not found by cmake, though they are installed
Related Questions in TENSORFLOW-LITE
- Issue in creating Tflite model populated with metadata (for object detection)
- What is a lite model in Deep Learning?
- Unable to Import tflite-support package. Receiving error "DLL load failed: The specified module could not be found"
- Google Meet background Blur
- Error when training Tensorflow image classification model even when all images in jpeg format. Anyone have a fix?
- How to remove background from an image using TensorFlow Lite?
- How to convert Tensorflow Object Detection API model to TFLite?
- Export data from PoseNet app by tensorflow-lite in android
- Passing custom attributes from TF op to TFL (MLIR)
- Building libtensorflowlite.so without any error, but share file is close to empty (KB)
- tensorflow Lite Segmentation fault
- How to find the Tensorflow node with a given index?
- What's the output of YOLO?
- How to Fix ERROR: Command errored out with exit status 1: when installing tensorflow_recommenders using pip
- TensorFlow Lite does not recognize op VarHandleOp
Related Questions in TINYML
- LSTM Model Structure with Low Arena Size for TensorflowLite
- TensorFlow Lite makefile for Texas Instruments CC1352P7 Board with ARM Cortex M4F multiprotocol
- Difference between model.h and model.cc in tensorflow lite for microcontrollers
- TensorFlow Lite for Microcontrollers: Didn't find op for builtin opcode 'REDUCE_PROD' version '1'
- Error with TFlite hello world example on ESP-EYE
- Tensorflow lite model output always gives same output no matter the input
- Tensorflow Lite Micro - Implementing a CNN for Binary Image Classification on ESP32
- Would I be able to compile external libraries (opencv, mlpack) onto an MCU?
- How to work with machine learning algorithms in embedded systems?
- Load Tensorflow Lite models in python
- How do I store a fitted PCA so that I may transpose unseen testing dataset? I do not wish to keep the large training dataset on my CPU
- Is there a way to install a lighter version of opencv?
- Getting some sort of Math Formula from a Machine Learning trained model
- tflite-micro for TI CC1352P7-1 LP
- Why my tf.lite conversion is bad when the original ia is about %70?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes you are both right. My question was in relation to converting a tensorflow model into a quantized tflite model for arduino because I noticed that most people would generate the .cc without a .h file but in usage the .cc file was no where to be found and only the .h file was used. Turns out in this instance it does not matter since what is required is the quantized binary model. So the .cc file will just be renamed to a .h file later and deployed on the arduino.