Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getInductionVar (0.2 sec)

  1. tensorflow/compiler/mlir/tfr/passes/canonicalize.cc

        if (trip_count <= 0) return failure();
    
        // TODO(fengliuai): use loopUnrollByFactor once the iter_arg is supported
    
        Block *single_block = for_op.getBody();
        IRMapping mapping;
        Value iv = for_op.getInductionVar();
        for (auto iter_op :
             llvm::zip(for_op.getRegionIterArgs(), for_op.getInitArgs())) {
          mapping.map(std::get<0>(iter_op), std::get<1>(iter_op));
        }
        mapping.map(iv, for_op.getLowerBound());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top