- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for operating (0.21 sec)
-
tensorflow/c/c_api_function_test.cc
* v v */ // Define TF_Operation* feed1 = Placeholder(func_graph_, s_, "feed1"); TF_Operation* feed2 = Placeholder(func_graph_, s_, "feed2"); Define(-1, {}, {feed1, feed2}, {feed2, feed1}, {}); // Use, run, and verify TF_Operation* two = ScalarConst(2, host_graph_, s_); TF_Operation* func_feed = Placeholder(host_graph_, s_); TF_Operation* func_op = Use({two, func_feed});
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/c_api_test.cc
TF_Graph* graph = TF_NewGraph(); // Make a placeholder operation. TF_Operation* feed = Placeholder(graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Make a constant operation with the scalar "2". TF_Operation* two = ScalarConst(2, graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Add operation. TF_Operation* add = Add(feed, two, graph, s);
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) -
tensorflow/c/eager/c_api_test.cc
TFE_DeleteContext(ctx); } tensorflow::AttrValueMap ExtractAttrs(TFE_Op* op) { tensorflow::AttrValueMap attr_values; tensorflow::EagerOperation* operation = tensorflow::OperationFromInterface(tensorflow::unwrap(op)); operation->Attrs().FillAttrValueMap(&attr_values); return attr_values; } TEST(CAPI, TestTFE_OpInferSingleInputAttrs) { TF_Status* status = TF_NewStatus();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1)