Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for flag (0.13 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    }  // namespace tensorflow
    
    // Due to the usages of flags for this manual test, we need a special `main` to
    // ensure our flags are parsed properly as `testing::InitGoogleTest` silently
    // ignores other flags. Furthermore, we need this to ensure that the DSO is
    // loaded exactly once, if provided.
    GTEST_API_ int main(int argc, char** argv) {
      const std::vector<tensorflow::Flag> flag_list = {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. ci/official/utilities/get_versions.sh

    export TF_VER_PATCH=$(awk '/#define TF_PATCH_VERSION/ {print $3}' tensorflow/core/public/version.h)
    
    # Note: in awk, "print $N" prints the Nth "field", where fields are strings separated
    # by whitespace. The flag "-F<x>" changes the behavior such that fields are now strings
    # separated by the character <x>. Therefore, -F\' (escaped single quote) means that field
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/BUILD

    )
    
    # This flag enables experimental TPU support
    bool_flag(
        name = "enable_tpu_support",
        build_setting_default = False,
    )
    
    config_setting(
        name = "with_tpu_support_define",
        define_values = {"with_tpu_support": "true"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "with_tpu_support_flag",
        flag_values = {":enable_tpu_support": "True"},
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  4. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    # odd to attempt to validate the quality of the pip package. The wheel is
    # installed into a virtual environment, and then that venv is used to run all
    # bazel tests with a special flag "--define=no_tensorflow_py_deps=true", which
    # drops all the bazel dependencies for each py_test; this makes all the tests
    # use the wheel's TensorFlow installation instead of the one made available
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.cc

        // These XLA flags are needed to trigger XLA properly from C (more generally
        // non-Python) clients. If this API is called again with `enable` set to
        // false, it is safe to keep these flag values as is.
        tensorflow::MarkForCompilationPassFlags* flags =
            tensorflow::GetMarkForCompilationPassFlags();
        flags->tf_xla_cpu_global_jit = true;
        flags->tf_xla_min_cluster_size = 1;
      } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    //
    // Use in tests to allow XLA to fallback to TF classic. This has global effect.
    TF_CAPI_EXPORT unsigned char TF_SetXlaEnableLazyCompilation(
        unsigned char enable);
    TF_CAPI_EXPORT unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable);
    
    // Sets XLA's auto jit mode according to the specified string, which is parsed
    // as if passed in XLA_FLAGS. This has global effect.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # odd to attempt to validate the quality of the pip package. The wheel is
    # installed into a virtual environment, and then that venv is used to run all
    # bazel tests with a special flag "--define=no_tensorflow_py_deps=true", which
    # drops all the bazel dependencies for each py_test; this makes all the tests
    # use the wheel's TensorFlow installation instead of the one made available
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. .bazelrc

    build:release_arm64_linux --config=mkl_aarch64_threadpool
    build:release_arm64_linux --copt=-flax-vector-conversions
    test:release_arm64_linux --flaky_test_attempts=3
    
    # The old gcc linux build options are preserved in the unsupported_*_linux
    # configs. If your project fails to build with Clang, you can use these
    # unsupported flags to replace the release flags in your build command.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  9. CONTRIBUTING.md

        bazel by doing as follows:
    
        ```bash
        export flags="--config=opt -k"
        ```
    
        If the tests are to be run on the GPU, add CUDA paths to LD_LIBRARY_PATH and
        add the `cuda` option flag
    
        ```bash
        export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH"
        export flags="--config=opt --config=cuda -k"
        ```
    
    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)
  10. ci/official/envs/rbe

           That setting must exist for this script to function correctly.
    EOF
      exit 1
    fi
    TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config rbe_$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX"
    
    # These flags share the user's gcloud credentials with the container, so that bazel
    # inside the container can authenticate. Note: TF's CI does not have any credential
    # stored here.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top