Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_UpdateEdge (0.08 sec)

  1. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern TF_Buffer* TF_GetRegisteredKernelsForOp(
        const char* name, TF_Status* status);
    
    // Update edge, switch input/ output in a node
    TF_CAPI_EXPORT extern void TF_UpdateEdge(TF_Graph* graph, TF_Output new_src,
                                             TF_Input dst, TF_Status* status);
    
    // --------------------------------------------------------------------------
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      NodeDef node_def_neg;
      ASSERT_TRUE(GetNodeDef(neg, &node_def_neg));
      EXPECT_EQ(string("add"), node_def_neg.input(0));
    
      // update edge of neg
      TF_UpdateEdge(graph, TF_Output{one, 0}, TF_Input{neg, 0}, s);
    
      ASSERT_TRUE(GetNodeDef(neg, &node_def_neg));
      EXPECT_EQ(string("one:0"), node_def_neg.input(0));
    
      // Clean up
      TF_DeleteGraph(graph);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top