Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CheckNoRecursion (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    
    // Check that there is no recursion in the module's call graph.
    LogicalResult CheckNoRecursion(ModuleOp module, CallGraph &call_graph) {
      for (llvm::scc_iterator<const CallGraph *> scci =
               llvm::scc_begin<const CallGraph *>(&call_graph);
           !scci.isAtEnd(); ++scci) {
        if (scci.hasCycle()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top