Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for flag (0.33 sec)

  1. tensorflow/c/eager/custom_device_testutil.h

    void RegisterLoggingDevice(TFE_Context* context, const char* name,
                               bool strict_scope_placement, bool* arrived_flag,
                               bool* executed_flag, TF_Status* status);
    void AllocateLoggingDevice(const char* name, bool* arrived_flag,
                               bool* executed_flag, TFE_CustomDevice** device,
                               void** device_info);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/custom_device_testutil.cc

      custom_device.delete_device = &DeleteLoggingDevice;
      custom_device.execute = &LoggingDeviceExecute;
      LoggingDevice* device = new LoggingDevice;
      device->arrived_flag = arrived_flag;
      device->executed_flag = executed_flag;
      device->device_name = name;
      device->underlying_device = "/job:localhost/replica:0/task:0/device:CPU:0";
      device->strict_scope_placement = strict_scope_placement;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 03 20:47:31 GMT 2021
    - 8.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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 Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. 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 Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. README.md

    A smaller CPU-only package is also available:
    
    ```
    $ pip install tensorflow-cpu
    ```
    
    To update TensorFlow to the latest version, add `--upgrade` flag to the above
    commands.
    
    *Nightly binaries are available for testing using the
    [tf-nightly](https://pypi.python.org/pypi/tf-nightly) and
    [tf-nightly-cpu](https://pypi.python.org/pypi/tf-nightly-cpu) packages on PyPi.*
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 05 15:00:10 GMT 2023
    - 11.9K bytes
    - Viewed (0)
Back to top