Module phi.tf

TensorFlow integration.

Importing this module registers the TensorFlow backend with phiml.math. Without this, TensorFlow tensors cannot be handled by phiml.math functions.

To make TensorFlow the default backend, import phi.tf.flow.

Expand source code
"""
TensorFlow integration.

Importing this module registers the TensorFlow backend with `phiml.math`.
Without this, TensorFlow tensors cannot be handled by `phiml.math` functions.

To make TensorFlow the default backend, import `phi.tf.flow`.
"""
from phiml.backend.tensorflow import TENSORFLOW

__all__ = [key for key in globals().keys() if not key.startswith('_')]

Sub-modules

phi.tf.flow

Standard import for TensorFlow mode …

phi.tf.nets

Jax implementation of the unified machine learning API. Equivalent functions also exist for the other frameworks …