- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for ASSERT_FALSE (0.19 seconds)
-
tensorflow/c/eager/c_api_test.cc
tensorflow::TensorHandleFromInterface(tensorflow::unwrap(hcpu)); 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"));Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
// Test not found errors in TF_Operation*() query functions. EXPECT_EQ(-1, TF_OperationOutputListLength(feed, "bogus", s)); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)); ASSERT_FALSE(GetAttrValue(feed, "missing", &attr_value, s)); EXPECT_EQ(std::string("Operation 'feed' has no attr named 'missing'."), std::string(TF_Message(s))); // Make a constant oper with the scalar "3".
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0)