Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FindNodeByName (0.14 sec)

  1. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

          {"cluster1:0", "cluster2:0"},
          {"cluster1:0", "mul:0"},
          {"cluster2:0", "mul:1"},
          {"x:0", "cluster1:0"}};
      EXPECT_EQ(expected_edges, GraphEdges(*graph));
    }
    
    const Node* FindNodeByName(const Graph& graph, const string& name) {
      for (const Node* node : graph.nodes()) {
        if (node->name() == name) return node;
      }
      return nullptr;
    }
    
    bool HasGuaranteeConstAttr(const Node& n) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
Back to top