- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ScalarConst (0.14 sec)
-
tensorflow/c/c_api_test.cc
TEST(CAPI, UpdateEdge) { TF_Status* s = TF_NewStatus(); TF_Graph* graph = TF_NewGraph(); // Make two scalar constants. TF_Operation* one = ScalarConst(1, graph, s, "one"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_Operation* two = ScalarConst(2, graph, s, "two"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Add oper. TF_Operation* add = Add(one, two, graph, s, "add");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)