- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ScalarConst (0.06 sec)
-
tensorflow/c/c_api_function_test.cc
TF_Operation* add2 = Add(add1, feed3, func_graph_, s_, "add2"); Define(-1, {}, {feed1, feed2, feed3}, {add2}, {}); // Use, run, and verify TF_Operation* two = ScalarConst(2, host_graph_, s_, "two"); TF_Operation* ten = ScalarConst(10, host_graph_, s_, "ten"); TF_Operation* func_feed = Placeholder(host_graph_, s_); TF_Operation* func_op = Use({two, ten, func_feed});
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
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");
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)