- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for EXPECT_NE (0.19 sec)
-
tensorflow/c/c_api_experimental_test.cc
const string malformed_text_proto(R"(cluster { job { name: "worker")"); TF_Buffer* null_result = TFE_GetServerDef(malformed_text_proto.c_str(), status); EXPECT_NE(TF_GetCode(status), TF_OK); EXPECT_TRUE(absl::StrContains(TF_Message(status), "Invalid text proto for ServerDef")); EXPECT_EQ(null_result, nullptr); // Cleanup
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_Tensor* a = TF_AllocateTensor(TF_UINT64, dims, 2, 6 * TF_DataTypeSize(TF_UINT64)); TF_Tensor* b = TF_AllocateTensor(TF_UINT64, nullptr, 0, TF_DataTypeSize(TF_UINT64)); EXPECT_NE(a, nullptr); EXPECT_NE(b, nullptr); EXPECT_EQ(6, TF_TensorElementCount(a)); EXPECT_EQ(1, TF_TensorElementCount(b)); EXPECT_EQ(6 * TF_DataTypeSize(TF_UINT64), TF_TensorByteSize(a));
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Dec 27 12:18:10 UTC 2024 - 97K bytes - Viewed (0)