Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hedge (0.27 sec)

  1. tensorflow/c/c_api.cc

      mutex_lock l(graph->mu);
      std::vector<const tensorflow::Edge*> control_edges;
      for (const tensorflow::Edge* edge : op->node.in_edges()) {
        if (!edge->IsControlEdge()) continue;
        control_edges.push_back(edge);
      }
      for (const tensorflow::Edge* edge : control_edges) {
        graph->graph.RemoveControlEdge(edge);
      }
    }
    
    void TF_SetRequireShapeInferenceFns(TF_Graph* graph, bool require) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.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);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/c/c_api_function_test.cc

            const auto& v = a_edges.insert({iter->second, arg.name()});
            ASSERT_TRUE(v.second) << "Duplicate edge " << iter->second << " -> "
                                  << arg.name() << ". fdef: " << fdef.DebugString();
          } else {
            const auto& v = a_edges.insert({arg.name(), arg.name()});
            ASSERT_TRUE(v.second) << "Duplicate edge " << arg.name() << " -> "
                                  << arg.name() << ". fdef: " << fdef.DebugString();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top