Skip to content

Code and examples on directly calling Tensorflow / Pytorch / Keras ML models from Fortran.

License

Notifications You must be signed in to change notification settings

yqsun91/fortran-ml-bridge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fortran-ml-bridge

Code and examples on directly calling Tensorflow / Pytorch ML models from Fortran.

Problem Statement

We want to be able to run ML models directly in Fortran. Initially let's assume that the model has been trained in some other language (say Python) and saved (e.g. as a SavedModel). We want to run inference on this model without having to call the Python executable. This should be possible by using the existing ML C/C++ interfaces.

PyTorch

See the fortran-pytorch-lib directory.

Tensorflow

See the fortran-tf-lib directory.

About

Code and examples on directly calling Tensorflow / Pytorch / Keras ML models from Fortran.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Fortran 54.4%
  • C 14.8%
  • C++ 10.6%
  • PureBasic 7.7%
  • Python 6.5%
  • CMake 4.6%
  • Makefile 1.4%