- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for enable_v2_behavior (0.09 sec)
-
tensorflow/api_template.__init__.py
_current_module.__path__ = [_module_dir] + _current_module.__path__ # Enable TF2 behaviors from tensorflow.python.compat import v2_compat as _compat _compat.enable_v2_behavior() _major_api_version = 2 # Load all plugin libraries from site-packages/tensorflow-plugins if we are # running under pip. # TODO(gunan): Find a better location for this code snippet.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 6.8K bytes - Viewed (0) -
RELEASE.md
`compat.v2` module. It contains a copy of the 1.15 main module (without `contrib`) in the `compat.v1` module. TensorFlow 1.15 is able to emulate 2.0 behavior using the `enable_v2_behavior()` function. This enables writing forward compatible code: by explicitly importing either `tensorflow.compat.v1` or `tensorflow.compat.v2`, you can ensure that your
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 20:54:38 UTC 2025 - 740K bytes - Viewed (1)