Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HasLocalMirror (0.18 sec)

  1. tensorflow/c/eager/c_api_remote_test_util.cc

        auto remote_arg =
            tensorflow::TensorHandleFromInterface(tensorflow::unwrap(h1_task2));
        // The input handles should never change since they have been mirrored.
        ASSERT_FALSE(remote_arg->HasLocalMirror(nullptr));
      }
    
      TFE_TensorHandle* retvals[1];
      int num_retvals = 1;
      TFE_Execute(matmul, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
    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)
  2. tensorflow/c/eager/c_api_test.cc

        auto gpu_arg =
            tensorflow::TensorHandleFromInterface(tensorflow::unwrap(hgpu));
        auto gpu_device = gpu_arg->device();
        ASSERT_FALSE(cpu_arg->HasLocalMirror(gpu_device));
    
        TFE_Op* matmul = MatMulOp(ctx, hcpu, hgpu);
        if (cpu_op) {
          string cpu_device_name;
          ASSERT_TRUE(GetDeviceName(ctx, &cpu_device_name, "CPU"));
    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)
Back to top