A library that provides well-defined, reusable and cleanly written graphics ops and utility functions for TensorFlow, enabling differentiable graphics rendering, transformations, and 3D geometry operations. The latest version on PyPI is 2021.12.3. Releases are infrequent and the library may lag behind TensorFlow releases.
pip install tensorflow-graphicsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize a simple triangle mesh with vertices and face indices, and verify the mesh creation.
Pin tensorflow to 2.8-2.9 or use the nightly build from GitHub.
Use with caution; consider alternative libraries for actively maintained features.
Wrap only pure TF ops inside tf.function; keep graphics-specific ops in eager mode.
Ensure face winding is consistent; use tfg.geometry.representation.mesh.normals functions to verify.