Deep Learning Toolbox Converter for TensorFlow Models
Import and export TensorFlow models within MATLAB
8.4K Downloads
Updated
11 Sep 2024
The converter for TensorFlow models enables you to import a pretrained TensorFlow model and weights and export a MATLAB network or layergraph as a TensorFlow model.
To import a TensorFlow network in MATLAB, please refer to importNetworkFromTensorFlow. Note, the exported model in the TensorFlow must be saved in SavedModel format:
>>> model.save("myModelTF")
Import process has been tested with:
- TensorFlow versions v2.0 to 2.15 (versions of TensorFlow later than 2.15 may also work without issues)
Export supports:
- TensorFlow v2.0 or later
- Python version 3.0 or later
MATLAB Release Compatibility
Created with
R2017b
Compatible with R2017b to R2024b
Platform Compatibility
Windows macOS (Apple silicon) macOS (Intel) LinuxCategories
Find more on Deep Learning Toolbox in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.