Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PruneForReverseReachability (0.26 sec)

  1. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      //   We don't need to do anything special.
      if (!sequencer->in_edges().empty()) {
        (*host_graph)->AddControlEdge(sequencer, (*host_graph)->sink_node());
      }
      PruneForReverseReachability(
          host_graph->get(),
          std::unordered_set<const Node*>{(*host_graph)->sink_node()});
    
      // Postprocess edges between different outside compilations.
    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

      if (specs_.prune_unused_nodes) {
        std::unordered_set<const Node*> prune_start;
        TF_RETURN_IF_ERROR(GetInputOutputNodes(*node_name_map, &prune_start));
        if (!prune_start.empty()) {
          if (PruneForReverseReachability(graph_.get(), prune_start)) {
            VLOG(1) << "Pruned unused nodes in graphdef";
          } else {
            VLOG(1) << "No unused nodes in graphdef to prune";
          }
        } else {
    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