Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for getParentRegion (0.15 sec)

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

          // within other sub-regions attached to ops in this region. So the check
          // for whether a user is in one of the regions attached to this op is
          // straightforward.
          if (user->getParentRegion()->getParentOp() != op_) continue;
    
          // For functions, if the resource is used as a return operand, use that
          // as its result index.
          if (is_func && isa<func::ReturnOp>(user)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      Region* region = (*forward_pass_ops.begin())->getParentRegion();
      StringAttr replication_attr = GetReplicationAttr(*forward_pass_ops.begin());
      llvm::SmallVector<Operation*> checkset(forward_pass_ops.getArrayRef());
      checkset.append(backward_pass_ops.begin(), backward_pass_ops.end());
      for (Operation* op : checkset) {
        if (op->getParentRegion() != region) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

      // `mhlo.while` cond terminator does not need to be rewritten as it always
      // returns a tensor<i1> predicate value.
      if (auto while_parent = dyn_cast_or_null<WhileOp>(terminator->getParentOp()))
        if (terminator->getParentRegion() == &while_parent.getCond()) return;
    
      builder.setInsertionPoint(terminator);
      llvm::SmallDenseMap<Value, Value> rewritten_operands;
      auto new_results =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        RegionBranchPoint point) {
      if (auto whileOp =
              llvm::dyn_cast<WhileRegionOp>(this->getOperation()->getParentOp())) {
        if (&whileOp.getCond() == this->getOperation()->getParentRegion()) {
          // cut off the boolean (the condition itself) at the start
          return MutableOperandRange(
              this->getOperation(), 1,
              this->getOperation()->getOperands().size() - 1);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top