Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_GraphGetFunctions (0.16 sec)

  1. tensorflow/c/c_api_function_test.cc

      EXPECT_EQ(TF_GraphNumFunctions(host_graph_), 1);
      EXPECT_EQ(TF_GraphGetFunctions(host_graph_, funcs, 0, s_), 0);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_EQ(TF_GraphGetFunctions(host_graph_, funcs, 1, s_), 1);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      AssertEqual(func0, funcs[0]);
      TF_DeleteFunction(funcs[0]);
      EXPECT_EQ(TF_GraphGetFunctions(host_graph_, funcs, 2, s_), 1);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // all the returned TF_Functions. They must be deleted with TF_DeleteFunction.
    // On error, returns 0, sets status to the encountered error, and the contents
    // of funcs will be undefined.
    TF_CAPI_EXPORT extern int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs,
                                                   int max_func, TF_Status* status);
    
    // Note: The following function may fail on very large protos in the future.
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top