Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_GraphNumFunctions (0.08 sec)

  1. tensorflow/c/c_api_function_test.cc

      GetFunctionDef(func, &fdef);
      return fdef.signature().name();
    }
    
    TEST_F(CApiFunctionTest, GetFunctionsFromGraph) {
      TF_Function* funcs[2];
    
      // Get functions from empty graph
      EXPECT_EQ(TF_GraphNumFunctions(host_graph_), 0);
      TF_GraphGetFunctions(host_graph_, nullptr, 0, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Define a function and add it to host_graph_
      TF_Function* func0;
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 63.6K bytes
    - Viewed (1)
Back to top