Coder Social home page Coder Social logo

cambridge-iccs / fortran-tf-lib Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 11.0 108 KB

A library for directly calling TensorFlow / Keras ML models from Fortran.

License: MIT License

C 11.35% Fortran 64.96% Python 3.29% PureBasic 8.79% CMake 11.62%
deep-learning fortran interoperability keras machine-learning tensorflow

fortran-tf-lib's People

Contributors

christopheredsall avatar dorchard avatar jatkinson1000 avatar simonclifford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fortran-tf-lib's Issues

Examples

Need to include some examples which replicate those from the PyTorch library. This will need to include some with Keras SavedModel which is the Torch Script equivalent.

Create conda package

It would be handy for conda users to be able to install from a channel.

Stretch goal: Add conda build to CI

Documentation

Documentation can be duplicated from PyTorch library and placed in README. Needs some specific input from @SimonClifford on TensorFlow.

Make Fortran example parameterisable as a command line arg?

There does seem a bit of an asymmetry in the PyTorch examples where the C, C++ and Python examples take user arguments for the model file, but the Fortran has the model filename is hard-coded. It's not a big deal but maybe we should consider make the Fortran take command line arguments too?

Installation problems

Running make install installs the project to the current CMAKE_INSTALL_PREFIX set of directories, however the generated
CMakeLists.txt file does not correctly set up the project for subsequent use with find_package(FortranTensorFlow). What should be possible should be something like:

find_package(FortranTensorFlow)
target_link_libraries( foo FortranTensorFlow::fortran-tf)

where cmake will determine where the module files from the package. Currently this does not work, and the package does not set any include directories.

General documentation

This should include general user documentation rendered to readthedocs via Sphinx. There is also an option to include the API docs within this site (doxygen).

  • Create a sensible Readme.md following the guidance in our handbook (development guide)
  • Create walkthrough examples in the documentation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.