Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TF_GraphNumFunctions (0.17 seconds)

  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;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
  2. tensorflow/c/c_api.h

    // Returns the number of TF_Functions registered in `g`.
    TF_CAPI_EXPORT extern int TF_GraphNumFunctions(TF_Graph* g);
    
    // Fills in `funcs` with the TF_Function* registered in `g`.
    // `funcs` must point to an array of TF_Function* of length at least
    // `max_func`. In usual usage, max_func should be set to the result of
    // TF_GraphNumFunctions(g). In this case, all the functions registered in
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
Back to Top