Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for module (0.18 sec)

  1. tensorflow/api_template.__init__.py

    if _tf_uses_legacy_keras:
      _module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v2.keras")
    else:
      _module_dir = _module_util.get_parent_dir_for_name("keras.api._v2.keras")
    _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
    
    
    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. tensorflow/api_template_v1.__init__.py

    setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v1"))
    _module_dir = _module_util.get_parent_dir_for_name("keras._tf_keras.keras")
    _current_module.__path__ = [_module_dir] + _current_module.__path__
    if _tf_uses_legacy_keras:
      _module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v1.keras")
    else:
      _module_dir = _module_util.get_parent_dir_for_name("keras.api._v1.keras")
    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)
  3. ci/official/wheel_test/README.md

    init files creation process and is subsequently stored in the wheel file after
    the build. It also contains a few paths that cannot be directly imported. These
    paths point to attributes or sub-modules within a module's namespace, but they
    don't correspond to an actual file or directory on the filesystem. The list of
    such paths is stored in the packages_for_skip variable and will be skipped
    during the test.
    
    ##### How to Build
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. ci/official/utilities/code_check_changed_files.bats

        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
            python -m pylint --rcfile=tensorflow/tools/ci_build/pylintrc --score false \
            | grep -v "**** Module" \
            | tee $BATS_TEST_TMPDIR/needs_help.txt
        [[ ! -s $BATS_TEST_TMPDIR/needs_help.txt ]]
    }
    
    @test "API compatibility test passes, ensuring no unexpected changes to the TF API" {
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. ci/official/wheel_test/test_import_api_packages.py

        super().setUp()
        self.api_packages_v2 = _get_api_packages_v2()
        # Some paths in the api_packages_path file cannot be directly imported.
        # These paths may point to attributes or sub-modules within a module's
        # namespace, but they don't correspond to an actual file
        # or directory on the filesystem.
        self.packages_for_skip = [
            "tensorflow.distribute.cluster_resolver",
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

        ```bash
        bazel run //tensorflow/tools/docs:tf_doctest
        ```
    
        or
    
        ```bash
        bazel run //tensorflow/tools/docs:tf_doctest -- --module=ops.array_ops
        ```
    
        The `--module` is relative to `tensorflow.python`.
    
    #### Debug builds
    
    When [building Tensorflow](https://www.tensorflow.org/install/source), passing
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. ci/official/utilities/setup_macos.sh

    # a service account that has the right permissions to be able to do so.
    set +x
    if [[ -n "${GOOGLE_APPLICATION_CREDENTIALS:-}" ]]; then
      # Python 3.12 removed the module `imp` which is needed by gcloud CLI so we set
      # `CLOUDSDK_PYTHON` to Python 3.11 which is the system Python on TFCI Mac
      # VMs.
      export CLOUDSDK_PYTHON=$(which python3.11)
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/c/experimental/filesystem/modular_filesystem.h"
    
    #include <algorithm>
    #include <string>
    #include <utility>
    
    #include "tensorflow/c/experimental/filesystem/modular_filesystem_registration.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/env.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  9. .gitignore

    .DS_Store
    .ipynb_checkpoints
    node_modules
    /.bazelrc.user
    /.tf_configure.bazelrc
    /xla_configure.bazelrc
    /bazel-*
    /bazel_pip
    /tools/python_bin_path.sh
    /tensorflow/tools/git/gen
    /pip_test
    /_python_build
    *.pyc
    __pycache__
    *.swp
    .vscode/
    cmake_build/
    tensorflow/contrib/cmake/_build/
    .idea/**
    /build/
    [Bb]uild/
    /build_output/
    /tensorflow/core/util/version_info.cc
    /tensorflow/python/framework/fast_tensor_util.cpp
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Jan 31 22:28:59 GMT 2024
    - 934 bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
            python -m pylint --rcfile=tensorflow/tools/ci_build/pylintrc --score false \
            | grep -v "**** Module" \
            | tee $BATS_TEST_TMPDIR/needs_help.txt
        [[ ! -s $BATS_TEST_TMPDIR/needs_help.txt ]]
    }
    
    teardown_file() {
        bazel shutdown
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top