Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for replace (0.3 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      TF_DeleteStatus(status);
    
      int port = tensorflow::testing::PickUnusedPortOrDie();
      // 3. Replace worker1 with a new worker in server_def_0 and server_def_1.
      ReplaceTaskInServerDef(&server_def_0, /*task_index=*/1, "localhost", port);
      ReplaceTaskInServerDef(&server_def_1, /*task_index=*/1, "localhost", port);
      // 4. Start a new task to replace worker1.
      server_def_0.set_task_index(1);
      worker_server1.release();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_test.cc

      TF_DeleteStatus(status);
    
      int port = tensorflow::testing::PickUnusedPortOrDie();
      // 3. Replace worker1 with a new worker in server_def_0 and server_def_1.
      ReplaceTaskInServerDef(&server_def_0, /*task_index=*/1, "localhost", port);
      ReplaceTaskInServerDef(&server_def_1, /*task_index=*/1, "localhost", port);
      // 4. Start a new task to replace worker1.
      server_def_0.set_task_index(1);
      worker_server1.release();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. ci/official/wheel.sh

      tfrun nvidia-smi
    fi
    
    # Update the version numbers for Nightly only
    if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then
      tfrun python3 tensorflow/tools/ci_build/update_version.py --nightly
      # replace tensorflow to tf_nightly in the wheel name
      export TFCI_BUILD_PIP_PACKAGE_ARGS="$(echo $TFCI_BUILD_PIP_PACKAGE_ARGS | sed 's/tensorflow/tf_nightly/')"
    fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. ci/official/README.md

    #      Ex. 1: TFCI=py311,linux_x86_cuda,nightly_upload  (nightly job)
    #      Ex. 2: TFCI=py39,linux_x86,rbe                   (continuous job)
    #   Non-Googlers should replace "nightly_upload" or "rbe" with
    #   "public_cache,disk_cache".
    #   Googlers should replace "nightly_upload" with "public_cache,disk_cache" or
    #   "rbe", if you have set up your system to use RBE (see further below).
    #
    # Here is how to choose your TFCI value:
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem.h

    /// This file builds classes needed to hold a filesystem implementation in the
    /// modular world. Once all TensorFlow filesystems are converted to use the
    /// plugin based approach, this file will replace the one in core/platform and
    /// the names will lose the `Modular` part. Until that point, the `Modular*`
    /// classes here are experimental and subject to breaking changes.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  6. WORKSPACE

    )
    """,
        ),
    }
    
    pip_parse(
        name = "pypi",
        annotations = NUMPY_ANNOTATIONS,
        python_interpreter_target = interpreter,
        requirements = "//:requirements_lock_" + TF_PYTHON_VERSION.replace(".", "_") + ".txt",
    )
    
    load("@pypi//:requirements.bzl", "install_deps")
    
    install_deps()
    
    # Initialize the TensorFlow repository and all dependencies.
    #
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
  7. tensorflow/c/c_api_test.cc

        // ATTR_TEST_REGISTER calls above.
        string op_name = "CApiAttributesTestOp";
        if (type.find("list(") == 0) {
          op_name += "List";
          type = type.replace(0, 5, "");
          type = type.replace(type.size() - 1, 1, "");
        }
        op_name += type;
        return TF_NewOperation(
            graph_, op_name.c_str(),
            ::tensorflow::strings::StrCat("name", counter_++).c_str());
      }
    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)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      //
      // Since the test name contains `/` (due to parameters), this function
      // replaces `/` with `_`.
      //
      // We trade in one extra initialization for readability.
      ModularFileSystemTest() {
        const std::string test_name = tensorflow::str_util::StringReplace(
            ::testing::UnitTest::GetInstance()->current_test_info()->name(), "/",
            "_", /*replace_all=*/true);
        if (!cloud_path_.empty()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  9. ci/official/wheel_test/WORKSPACE

    load("@python//:defs.bzl", "interpreter")
    load("@rules_python//python:pip.bzl", "pip_parse")
    
    pip_parse(
        name = "pypi",
        python_interpreter_target = interpreter,
        requirements = "//:requirements_lock_" + TF_PYTHON_VERSION.replace(".", "_") + ".txt",
    )
    
    load("@pypi//:requirements.bzl", "install_deps")
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

          : max_age_(max_age),
            max_entries_(max_entries),
            timer_seconds_(timer_seconds) {}
    
      /// Insert `value` with key `key`. This will replace any previous entry with
      /// the same key.
      void Insert(const std::string& key, const T& value) {
        if (max_age_ == 0) {
          return;
        }
        absl::MutexLock lock(&mu_);
        InsertLocked(key, value);
      }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
Back to top