Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HasSingleBlock (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/call_graph_util.cc

          return op->emitError()
                 << "Cannot find function " << sym.getRootReference();
        }
        callees.push_back(callee);
      }
      return success();
    }
    
    bool HasSingleBlock(func::FuncOp func) {
      return func->getNumRegions() == 1 && func.getBody().hasOneBlock();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/call_graph_util.h

          }
          return WalkResult::advance();
        });
        if (result.wasInterrupted()) return failure();
      }
      return success();
    }
    
    // Check if a function has one region and one block only.
    bool HasSingleBlock(func::FuncOp func);
    
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Dec 16 06:18:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top