Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for placeholder (0.23 sec)

  1. tensorflow/api_template.__init__.py

    # Make sure code inside the TensorFlow codebase can use tf2.enabled() at import.
    _os.environ["TF2_BEHAVIOR"] = "1"
    from tensorflow.python import tf2 as _tf2
    _tf2.enable()
    
    # API IMPORTS PLACEHOLDER
    
    # WRAPPER_PLACEHOLDER
    
    # Make sure directory containing top level submodules is in
    # the __path__ so that "from tensorflow.foo import bar" works.
    # We're using bitwise, but there's nothing special about that.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  2. tests/test_datastructures.py

    
    def test_default_placeholder_equals():
        placeholder_1 = Default("a")
        placeholder_2 = Default("a")
        assert placeholder_1 == placeholder_2
        assert placeholder_1.value == placeholder_2.value
    
    
    def test_default_placeholder_bool():
        placeholder_a = Default("a")
        placeholder_b = Default("")
        assert placeholder_a
        assert not placeholder_b
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. tensorflow/api_template_v1.__init__.py

    from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
    from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
    
    # API IMPORTS PLACEHOLDER
    
    # WRAPPER_PLACEHOLDER
    
    if "dev" in __version__:   # pylint: disable=undefined-variable
      _logging.warning("""
    
      TensorFlow's `tf-nightly` package will soon be updated to TensorFlow 2.0.
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. scripts/docs.py

        ),
    ) -> None:
        """
        Serve with livereload a docs site for a specific language.
    
        This only shows the actual translated files, not the placeholders created with
        build-all.
    
        Takes an optional LANG argument with the name of the language to serve, by default
        en.
        """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
Back to top