Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for GetOwner (0.19 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

        // Insert CastOp if it does not exist yet. Otherwise, just rewire without
        // creating a CastOp.
        for (auto& connected_op : op.getResult().getUses()) {
          auto cast_op = llvm::dyn_cast_or_null<CastOp>(connected_op.getOwner());
          if (cast_op && cast_op.getType() == new_result_type) {
            quantize_op->setOperand(quantize_operand_num, cast_op);
            return;
          }
        }
        rewriter.setInsertionPointAfter(op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

      if (!IsIllegalType(v.getType())) {
        return true;
      }
      if (v.getUsers().empty()) {
        return false;
      }
      return llvm::all_of(v.getUsers(), [&](OpOperand operand) {
        return IsQintToIntCast(operand.getOwner());
      });
    }
    
    // Check if an op operand value is defined by int -> qint TF Cast OP.
    bool IsQintValueDefinedByIntToQintCast(Value v) {
      if (!IsIllegalType(v.getType())) {
        return true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

    // returns the owner of the Block.
    Operation* GetOpOfValue(Value value) {
      if (auto block_arg = mlir::dyn_cast<BlockArgument>(value))
        return block_arg.getOwner()->getParentOp();
    
      return value.getDefiningOp();
    }
    
    // Checks if `op` is nested in `block`.
    bool OpInBlock(Operation* op, Block* block) {
      Block* op_block = op->getBlock();
      while (op_block) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/EvaluationContext.java

             * Can be null if the current scope has no owner (e.g. a just opened nested context).
             *
             * @return the owner
             */
            @Nullable
            EvaluationOwner getOwner();
    
            /**
             * Opens a nested context. A nested context allows to re-enter evaluation of the objects that are being evaluated in this context.
             * The newly returned nested context has no owner.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ProjectScopeServices.java

        }
    
        @Provides
        protected PluginRegistry createPluginRegistry(PluginRegistry rootRegistry) {
            PluginRegistry parentRegistry;
            ProjectState parent = project.getOwner().getBuildParent();
            if (parent == null) {
                parentRegistry = rootRegistry.createChild(project.getBaseClassLoaderScope());
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java

            ResourceLockCoordinationService coordinationService = project.getServices().get(ResourceLockCoordinationService.class);
            coordinationService.withStateLock(DefaultResourceLockCoordinationService.lock(project.getOwner().getAccessLock()));
    
            return project;
        }
    
        public ProjectInternal createProject(String name, File inputProjectDir, @Nullable File gradleUserHomeDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:36 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      Value value = arg;
      builder_.setInsertionPointToStart(arg.getOwner());
      if (value.hasOneUse()) {
        Operation* user = value.use_begin().getUser();
        if (auto q = dyn_cast<quantfork::QuantizeCastOp>(user)) {
          value = q.getResult();
          builder_.setInsertionPoint(arg.getOwner(), ++Block::iterator(user));
        }
      }
      RequantizeValue(value, states, builder_.getUnknownLoc());
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          this.task = task;
        }
    
        @Override
        public void run() {}
    
        private void setOwner(Thread thread) {
          super.setExclusiveOwnerThread(thread);
        }
    
        @VisibleForTesting
        @CheckForNull
        Thread getOwner() {
          return super.getExclusiveOwnerThread();
        }
    
        @Override
        public String toString() {
          return task.toString();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 29 21:34:48 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/configuration/project/LifecycleProjectEvaluator.java

                this.project = project;
                this.state = state;
            }
    
            @Override
            public void run(final BuildOperationContext context) {
                project.getOwner().applyToMutableState(p -> {
                    // Note: beforeEvaluate and afterEvaluate ops do not throw, instead mark state as failed
                    try {
                        state.toBeforeEvaluate();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        Value old_ret = std::get<0>(ret_vals);
        Value new_ret = std::get<1>(ret_vals);
        for (auto& use : llvm::make_early_inc_range(old_ret.getUses())) {
          Operation* user = use.getOwner();
          if (!body->findAncestorOpInBlock(*user)) use.set(new_ret);
        }
      }
    
      // Move ops that depend on something in the cluster behind the cluster.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
Back to top