Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for replicate (0.17 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TFE_Op* matmul = MatMulOp(ctx, m1, m2);
      TFE_OpSetDevice(matmul, "/job:localhost/replica:0/task:0/device:CPU:0",
                      status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_Op* matmul2 = MatMulOp(ctx, m1, m1);
      TFE_OpSetDevice(matmul2, "/job:localhost/replica:0/task:0/device:CPU:0",
                      status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    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)
  2. tensorflow/c/eager/c_api_experimental_test.cc

          CreateContext(serialized_server_def_1,
                        /*isolate_session_state=*/false, init_timeout_in_ms);
    
      // Remote device on `worker2`.
      const char remote_device[] = "/job:localhost/replica:0/task:2/device:CPU:0";
      // `ctx_0`, `ctx_1` contains `remote_device`.
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_0);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
    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)
  3. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      const char* first_device = "/job:worker/replica:0/task:1/device:CPU:0";
      const char* second_device = "/job:worker/replica:0/task:2/device:CPU:0";
      const char* device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0";
      std::array<const char*, 2> underlying_devices{first_device, second_device};
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/custom_device_test.cc

      TFE_OpReset(reused_op.get(), "Identity",
                  "/job:localhost/replica:0/task:0/device:CPU:0", status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_EQ(tensorflow::string(TFE_OpGetDevice(reused_op.get(), status.get())),
                tensorflow::string("/job:localhost/replica:0/task:0/device:CPU:0"));
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/abstract_operation.h

      // chosen for the operation by the device placement logic in the
      // executor. After that, the value returned by DeviceName will be a full
      // device name such as "/job:localhost/replica:0/task:0/device:GPU:1".
      virtual const string& DeviceName() const = 0;
    
      // Sets the operation device name.
      //
      // The given `name` must be parseable by DeviceNameUtils::ParseFullName, and
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_remote_test_util.cc

      TFE_TensorHandle* packed_handle = nullptr;
      if (has_packed_input) {
        int num_replicas = 1;
        std::vector<TFE_TensorHandle*> packed_handles = {h1_task2};
        packed_handle = TFE_CreatePackedTensorHandle(ctx, packed_handles.data(),
                                                     &num_replicas, status);
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      }
    
      TFE_Op* matmul = nullptr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental.cc

    void RegisterTracingEngineFactory(const string& name, FactoryFunction factory) {
      assert((!GetFactories().count(name)) ||
             (GetFactories()[name] == factory) &&
                 "Duplicate tracing factory registration");
      GetFactories()[name] = factory;
    }
    
    Status SetDefaultTracingEngine(const char* name) {
      auto entry = GetFactories().find(name);
      if (entry != GetFactories().end()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.h

    // custom devices will fail.
    //
    // `device_name` must not name an existing physical or custom device. It must
    // follow the format:
    //
    //    /job:<name>/replica:<replica>/task:<task>/device:<type>:<device_num>
    //
    // If the device is successfully registered, `status` is set to TF_OK. Otherwise
    // the device is not usable. In case of a bad status, `device.delete_device` is
    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)
  9. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

            fi
            if [[ -e errors.txt ]]; then
                echo "Broken links found:"
                cat errors.txt
                rm errors.txt
                false
            fi
        done
    }
    
    @test "No duplicate files on Windows" {
        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

        TF_EXCLUSIVE_LOCKS_REQUIRED(desc->graph->mu) {
      Node* ret = nullptr;
    
      if (desc->graph->name_map.count(desc->node_builder.node_name())) {
        status->status = InvalidArgument("Duplicate node name in graph: '",
                                         desc->node_builder.node_name(), "'");
      } else {
        if (!desc->colocation_constraints.empty()) {
          desc->node_builder.Attr(
    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)
Back to top