- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for EXPECT_TRUE (0.04 sec)
-
tensorflow/c/c_api_test.cc
} else { ASSERT_TRUE(GetNodeDef(oper, &node_def)); ADD_FAILURE() << "Unexpected Node: " << node_def.DebugString(); } } EXPECT_TRUE(found_placeholder); EXPECT_TRUE(found_scalar_const); EXPECT_TRUE(found_add); EXPECT_TRUE(found_neg); // Clean up TF_DeleteGraph(graph); TF_DeleteStatus(s); } TEST(CAPI, UpdateEdge) { TF_Status* s = TF_NewStatus();
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Dec 27 12:18:10 UTC 2024 - 97K bytes - Viewed (0) -
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 TF_DeleteBuffer(result); TF_DeleteStatus(status); }
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_function_test.cc
*op = TF_FinishOperation(desc, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); ASSERT_NE(*op, nullptr); } FunctionDef fdef() { tensorflow::FunctionDef fdef; EXPECT_TRUE(GetFunctionDef(func_, &fdef)); return fdef; } // logging utility template <class Container> string ToString(const Container& v) { std::stringstream ss; ss << "{";
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (1)