Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EXPECT_TRUE (0.15 sec)

  1. tensorflow/c/eager/custom_device_test.cc

      matmul.reset(MatMulOp(context.get(), hcustom0.get(), hcpu.get()));
      num_retvals = 1;
      executed = false;
      TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
      EXPECT_TRUE(executed);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      TFE_DeleteTensorHandle(retval);
    
      // Explicit placement still forces the op onto the requested device
    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)
Back to top