Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UpdateEdge (0.46 sec)

  1. tensorflow/c/c_api.cc

            "Cannot update edge, incompatible shapes: ", ic_dst->DebugString(shape),
            " and ", ic_dst->DebugString(ic_dst->input(dst.index)), ".");
        return;
      }
      status->status = graph->graph.UpdateEdge(&new_src.oper->node, new_src.index,
                                               &dst.oper->node, dst.index);
    
      if (TF_GetCode(status) == TF_OK) {
        // This modification only updates the destination node for
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      EXPECT_TRUE(found_scalar_const);
      EXPECT_TRUE(found_add);
      EXPECT_TRUE(found_neg);
    
      // Clean up
      TF_DeleteGraph(graph);
      TF_DeleteStatus(s);
    }
    
    TEST(CAPI, UpdateEdge) {
      TF_Status* s = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      // Make two scalar constants.
      TF_Operation* one = ScalarConst(1, graph, s, "one");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top