- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for EXPECT_THAT (0.29 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
/*expected_max_outputs=*/1, status.get()); EXPECT_NE(TF_GetCode(status.get()), TF_CANCELLED); EXPECT_EQ(TF_GetCode(status.get()), TF_INVALID_ARGUMENT); EXPECT_THAT(TF_Message(status.get()), HasSubstr("assertion failed")); // Note that future collectives with the same context do not work at the // moment; once canceled, the collective executor requires the program to be
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
ImmediateExecutionTensorHandle* unwrapped_handle = tensorflow::unwrap(device_value.get()); std::string summarized; TF_ASSERT_OK(unwrapped_handle->SummarizeValue(summarized)); EXPECT_THAT(summarized, HasSubstr("\"CPU:0\": 3")); } } // namespace parallel_device
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 29.3K bytes - Viewed (1)