Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasLocalMirror (0.14 sec)

  1. 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