Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetAllBlocksBetween (0.33 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc

        }
        return WalkResult::advance();
      });
      return tpu_compile_successor;
    }
    
    // Get all the Blocks underneath `top` that are "in the scope" of `bottom`,
    // i.e., are ancestors.
    llvm::DenseSet<Block*> GetAllBlocksBetween(Operation* bottom, Operation* top) {
      llvm::DenseSet<Block*> blocks;
      Operation* op = bottom;
      while (op && op != top) {
        blocks.insert(op->getBlock());
        op = op->getParentOp();
      }
      return blocks;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top