Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetPredecessors (0.17 sec)

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

          auto succ = use.getOwner();
          successors.push_back(succ);
        }
      }
      return successors;
    }
    // Gets the predecessors of an op wrapped in tf_executor.island.
    llvm::SmallVector<Operation*> GetPredecessors(Operation* op) {
      llvm::SmallVector<Operation*> predecessors;
      for (auto operand : op->getOperands()) {
        if (Operation* pred = operand.getDefiningOp()) {
          pred->walk([&](mlir::Operation* opinexecutor) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

        }
    
        // If we're in an inner block, the we have to find all ops that branch
        // to that block, and trace through them.
        llvm::DenseSet<BlockArgument> options;
        for (Block *block : blockArg.getOwner()->getPredecessors()) {
          if (!block->empty()) {
            Operation *back = &block->back();
            if (BranchOpInterface branchOp = dyn_cast<BranchOpInterface>(back)) {
              for (int i = 0; i < branchOp->getNumSuccessors(); i++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top