Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tf (0.29 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
      TF_OperationDescription* id_descr =
          TF_NewOperation(function_graph, "Identity", "id");
      TF_SetAttrType(id_descr, "T", TF_INT32);
      TF_AddInput(id_descr, {arg, 0});
      TF_Operation* id = TF_FinishOperation(id_descr, status);
      ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
      TF_Output input{arg, 0};
      TF_Output output{id, 0};
      TF_Function* fn =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_experimental_test.cc

      EXPECT_EQ(TF_GraphNumFunctions(func_graph_), 1);
      EXPECT_EQ(TF_GraphGetFunctions(func_graph_, funcs, 1, s_), 1);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      TF_GraphRemoveFunction(func_graph_, func_name_, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      EXPECT_EQ(TF_GraphNumFunctions(func_graph_), 0);
      EXPECT_EQ(TF_GraphGetFunctions(func_graph_, funcs, 1, s_), 0);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
Back to top