TL;DR: I got OpenGL 4.6 apps (Minecraft) running on macOS by translating OpenGL β Vulkan β Metal using Mesa's Zink driver and the KosmicKrisp Vulkan implementation.
Minecraft (OpenGL 4.6) β Zink β Vulkan β KosmicKrisp β Metal β GPU
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 file demonstrates taking a model (a TensorFlow graph) created by a Python program and running the training loop in C++.