This module provides some helpers to support earlier versions of TF 1 and also TF 2. In all cases, we use graph-mode execution, i.e. we will disable eager-mode.

For an initial draft about TF 2 support, see here:

Also see this for a similar (but different) approach:[source]

True if we are currently executing eagerly.

Return type: