Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RemovedEdges (0.08 sec)

  1. tensorflow/compiler/jit/shape_inference_helpers.h

    // class can be used to remove cycles before running inference and replace them
    // after. Correct usage requires exactly one call to Remove(), followed by any
    // number of calls to RemovedEdges() and at most one call to Replace(). The call
    // to Replace() is optional if the graph will be discarded without being
    // executed, e.g., if it is being used purely for a shape inference pass.
    class BackEdgeHelper {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 12 18:06:51 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  2. 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)
Back to top