Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FixupSourceAndSinkEdges (0.68 sec)

  1. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

        // We use ReverseDFS() to copy nodes. Make sure all nodes are reverse
        // reachable from sink node so all nodes will be copied.
        // TODO(b/77601805): consolidate copy graph functions.
        FixupSourceAndSinkEdges(host_fbody->graph);
    
        std::map<const Node*, Node*> node_map;
        node_map[host_fbody->graph->source_node()] = (*host_graph)->source_node();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        }
      }
    
      // Since we might have inserted and removed nodes from the graph, fix
      // source/sink edges and reconstruct the RPO ordering of nodes
      FixupSourceAndSinkEdges(graph_.get());
    
      // Prune nodes in the graph that are not reachable from the output.
      if (specs_.prune_unused_nodes) {
        std::unordered_set<const Node*> prune_start;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top