Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for chang (0.16 sec)

  1. tensorflow/c/c_api_test.cc

      num_dims = TF_GraphGetTensorNumDims(graph, feed_out_0, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(-1, num_dims);
    
      // Set the shape to be unknown, expect no change.
      TF_GraphSetTensorShape(graph, feed_out_0, /*dims=*/nullptr, -1, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      num_dims = TF_GraphGetTensorNumDims(graph, feed_out_0, s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. RELEASE.md

        the output is different from (incorrect) previous versions. Note this
        breaking change only impacts `tf.image.extract_glimpse` and
        `tf.compat.v2.image.extract_glimpse` API endpoints. The behavior of
        `tf.compat.v1.image.extract_glimpse` does not change. The behavior of
        existing C++ kernel `ExtractGlimpse` does not change either, so saved models
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  3. CONTRIBUTING.md

    [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html).
    
    Use `clang-tidy` to check your C/C++ changes. To install `clang-tidy` on ubuntu:16.04, do:
    
    ```bash
    apt-get install -y clang-tidy
    ```
    
    You can check a C/C++ file by doing:
    
    
    ```bash
    clang-format <my_cc_file> --style=google > /tmp/my_cc_file.cc
    diff <my_cc_file> /tmp/my_cc_file.cc
    ```
    
    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)
  4. tensorflow/c/c_api.cc

    // TODO(josh11b,mrry): Change Session to be able to use a Graph*
    // directly, instead of requiring us to serialize to a GraphDef and
    // call Session::Extend().
    bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) {
      if (session->graph != nullptr) {
        // Take the graph lock before the session lock to avoid deadlock. This is
        // safe since session->graph does not change.
        session->graph->mu.lock();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

    // This API is for experimental usage and may be subject to change.
    TF_CAPI_EXPORT extern void TFE_ContextUpdateServerDefWithTimeout(
        TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len,
        int64_t init_timeout_in_ms, TF_Status* status);
    
    // This API is for experimental usage and may be subject to change.
    TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeout(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  6. ci/official/utilities/rename_and_verify_wheels.sh

    if [[ "$TFCI_WHL_SIZE_LIMIT_ENABLE" == "1" ]] && [[ -n "$(find . -iname "*.whl" -size "+$TFCI_WHL_SIZE_LIMIT")" ]]; then
      echo "Error: Generated wheel is too big! Limit is $TFCI_WHL_SIZE_LIMIT"
      echo '(search for TFCI_WHL_SIZE_LIMIT to change it)'
      ls -sh *.whl
      exit 2
    fi
    
    # Quick install checks
    venv=$(mktemp -d)
    "python${TFCI_PYTHON_VERSION}" -m venv "$venv"
    python="$venv/bin/python3"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/BUILD

    # support through e.g. `--config=cuda` (or `--config=cuda_clang` in OSS).
    alias(
        name = "is_cuda_enabled",
        actual = if_oss(
            "@local_config_cuda//:is_cuda_enabled",
            "@local_config_cuda//cuda:using_clang",
        ),
    )
    
    # Config setting that is satisfied when CUDA device code should be compiled
    # with clang. It does not imply that CUDA support has been enabled.
    alias(
    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)
  8. .bazelrc

    build:avx_win --copt=/arch:AVX
    
    # Use Clang-cl compiler on Windows
    build:win_clang --copt=/clang:-Weverything
    build:win_clang --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl
    build:win_clang --extra_execution_platforms=//tensorflow/tools/toolchains/win:x64_windows-clang-cl
    build:win_clang --host_platform=//tensorflow/tools/toolchains/win:x64_windows-clang-cl
    build:win_clang --compiler=clang-cl
    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. .github/workflows/update-rbe.yml

            # TF 2.12 + Clang (containers are the same, but env vars in configs.bzl are different)
            map sigbuild-r2.12-clang 2.12-python3.9
            map sigbuild-r2.12-clang-python3.8 2.12-python3.8
            map sigbuild-r2.12-clang-python3.9 2.12-python3.9
            map sigbuild-r2.12-clang-python3.10 2.12-python3.10
            map sigbuild-r2.12-clang-python3.11 2.12-python3.11
            # TF 2.13
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Apr 10 15:40:34 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. configure.py

      return val
    
    
    def set_clang_cuda_compiler_path(environ_cp):
      """Set CLANG_CUDA_COMPILER_PATH."""
      default_clang_path = '/usr/lib/llvm-17/bin/clang'
      if not os.path.exists(default_clang_path):
        default_clang_path = '/usr/lib/llvm-16/bin/clang'
        if not os.path.exists(default_clang_path):
          default_clang_path = which('clang') or ''
    
      clang_cuda_compiler_path = prompt_loop_or_load_from_env(
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top