Skip to content

Instantly share code, notes, and snippets.

View nikita-astronaut's full-sized avatar

Nikita Astrakhantsev nikita-astronaut

  • University of Zurich
  • Zurich
View GitHub Profile
@asimshankar
asimshankar / README.md
Last active April 13, 2024 15:50
Training TensorFlow models in C

Training TensorFlow models in C

Python is the primary language in which TensorFlow models are typically developed and trained. TensorFlow does have bindings for other programming languages. These bindings have the low-level primitives that are required to build a more complete API, however, lack much of the higher-level API richness of the Python bindings, particularly for defining the model structure.

This gist demonstrates taking a model (a TensorFlow graph) created by a Python program and running the training loop in a C program.

The model