Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for visitUsedValuesDefinedAbove (0.32 sec)

  1. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

        Operation* op) {
      for (auto operand : op->getOperands()) {
        if (IsResource(operand)) {
          SetPotentiallyWritten(operand);
        }
      }
      visitUsedValuesDefinedAbove(op->getRegions(), [&](OpOperand* operand) {
        if (IsResource(operand->get())) {
          SetPotentiallyWritten(operand->get());
        }
      });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc

      // _TPUDeviceOrdinalPlaceholder implicitly depends on the replica.
      if (llvm::isa<TF::_TPUDeviceOrdinalPlaceholderOp>(op)) return false;
    
      bool has_replicate_operands = false;
      visitUsedValuesDefinedAbove(op->getRegions(), [&](OpOperand* operand) {
        if (!ancestor_of_replicate(operand->get().getParentRegion()))
          has_replicate_operands = true;
      });
    
      return !has_replicate_operands;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top