Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RemovedEdges (0.16 sec)

  1. tensorflow/compiler/jit/shape_inference_helpers.cc

            }
          }
        }
      }
      for (const BackEdge& be : back_edges_) {
        graph_->RemoveEdge(be.edge);
      }
      return absl::OkStatus();
    }
    
    const std::vector<BackEdgeHelper::BackEdge>& BackEdgeHelper::RemovedEdges()
        const {
      return back_edges_;
    }
    
    Status BackEdgeHelper::Replace() {
      if (graph_ == nullptr) {
        return errors::Internal("BackEdgeHelper Replace called before Remove.");
      }
      if (replaced_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/shape_inference.cc

      // the shape inference is complete.
      BackEdgeHelper back_edge;
      TF_RETURN_IF_ERROR(back_edge.Remove(graph));
      TF_RETURN_IF_ERROR(PropagateShapes(graph, arg_shapes,
                                         back_edge.RemovedEdges(), &shape_refiner));
      TF_RETURN_IF_ERROR(back_edge.Replace());
    
      // Currently information does not flow "backward" from consumers to producers
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      TF_RETURN_IF_ERROR(back_edge_helper_.Remove(graph_.get()));
      VLOG(1) << "Found " << (back_edge_helper_.RemovedEdges().size())
              << " backedges.";
    
      // Creates a map for quickly identifying whether a node output is a backedge.
      for (const auto& edge : back_edge_helper_.RemovedEdges()) {
        if (back_edge_node_output_.find(edge.src) != back_edge_node_output_.end() &&
    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