Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddStatefulControlFlowDependencies (0.22 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

    }
    
    // Add control dependencies from stateful control-flow ops to graph fetch op.
    // This is needed to avoid that such control-flow ops get pruned because of a
    // bug in common runtime (see b/185483669).
    void AddStatefulControlFlowDependencies(tf_executor::GraphOp graph_op) {
      llvm::SmallDenseSet<Value, 8> graph_fetches;
      for (Value value : graph_op.GetFetch().getFetches()) {
        graph_fetches.insert(value);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
Back to top