Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_USE_LEGACY_KERAS (0.13 sec)

  1. tensorflow/api_template.__init__.py

        _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v2/3.
    _tf_uses_legacy_keras = (
        _os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
    setattr(_current_module, "keras", _KerasLazyLoader(globals()))
    _module_dir = _module_util.get_parent_dir_for_name("keras._tf_keras.keras")
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/api_template_v1.__init__.py

        _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v1.
    _tf_uses_legacy_keras = (
        _os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
    setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v1"))
    _module_dir = _module_util.get_parent_dir_for_name("keras._tf_keras.keras")
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. RELEASE.md

    *   1.  Install tf-keras via pip install tf-keras~=2.16
    
        1.  To switch tf.keras to use Keras 2 (tf-keras), set the environment
            variable TF_USE_LEGACY_KERAS=1 directly or in your python program by
            import os;os.environ["TF_USE_LEGACY_KERAS"]=1. Please note that this
            will set it for all packages in your Python runtime program
    
    *   1.  Change import of keras from tensorflow as follows
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top