Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for GetOwner (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc

        if (!type || !type.getElementType().isF32()) return quantizable_ops;
    
        const Value value = op.getResult();
    
        for (OpOperand& use : value.getUses()) {
          Operation* user = use.getOwner();
          const int operand_num = use.getOperandNumber();
          quantizable_ops.insert({user, operand_num});
        }
        return quantizable_ops;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

                MethodSpec spec = MethodSpec.methodBuilder(implementation.getName())
                    .addModifiers(Modifier.PUBLIC, Modifier.STATIC)
                    .addParameter(typeName(callable.getOwner().getType()), SELF_PARAMETER_NAME)
                    .addParameters(parameters)
                    .addCode(generateMethodBody(implementation, callable, implementationExtra))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

          old_partitioned_input.get_XlaShardingAttr().getValue().str());
      for (OpOperand& read_use :
           llvm::make_early_inc_range(old_read.getValue().getUses())) {
        if (dyn_cast_or_null<tf_device::ClusterFuncOp>(read_use.getOwner())) {
          // ClusterFunc's use of the Read is replaced with use of the
          // TPUPartitionedInputV2.
          read_use.set(new_partitioned_input);
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

    // one). If there are no activation functions that use the output, returns
    // nullptr.
    Operation *GetActivation(Value op) {
      for (auto &use : op.getUses()) {
        if (IsActivationFunction(use.getOwner())) return use.getOwner();
      }
      return nullptr;
    }
    
    // Finds and returns a BiasAdd that uses the result of `op` as the `value`
    // input. If there are multiple such BiasAdds, one is returned (with no
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

      if (auto arg = source.dyn_cast<BlockArgument *>()) {
        auto range = llvm::make_filter_range(arg->getUsers(), [&](Operation *user) {
          bool same_block = user->getBlock() == arg->getOwner();
          return same_block && state.IsMember(user);
        });
        return {range.begin(), range.end()};
      }
    
      llvm_unreachable("Unexpected type in the union.");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

      for (IslandOp new_op : islands) {
        for (Value result : new_op.getOutputs()) {
          if (llvm::any_of(result.getUsers(), [&](OpOperand user) {
                return !wrapped_ops.count(user.getOwner());
              }))
            result_types.push_back(result.getType());
        }
      }
    
      IslandOp new_island = OpBuilder(island).create<IslandOp>(
          island.getLoc(), result_types,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/mapping/ResolutionBackedVariantDependencyResolver.java

            ImmutableModuleIdentifierFactory moduleIdentifierFactory
        ) {
            ResolvedVariantResult variant = edge.getResolvedVariant();
            ComponentIdentifier componentId = variant.getOwner();
    
            // TODO #3170: We should analyze artifacts to determine if we need to publish additional
            // artifact information like type or classifier.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  8. pkg/volume/util/hostutil/hostutil_linux.go

    // SELinux.
    func (hu *HostUtil) GetSELinuxSupport(pathname string) (bool, error) {
    	return GetSELinux(pathname, procMountInfoPath, selinux.GetEnabled)
    }
    
    // GetOwner returns the integer ID for the user and group of the given path
    func (hu *HostUtil) GetOwner(pathname string) (int64, int64, error) {
    	realpath, err := filepath.EvalSymlinks(pathname)
    	if err != nil {
    		return -1, -1, err
    	}
    	return GetOwnerLinux(realpath)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/internal/IdeaDependenciesProvider.java

            moduleDependencyBuilder = new ModuleDependencyBuilder(artifactRegistry);
            currentProjectId = project.getOwner().getComponentIdentifier();
            optimizer = new IdeaDependenciesOptimizer();
            this.gradleApiSourcesResolver = gradleApiSourcesResolver;
        }
    
        public Set<Dependency> provide(final IdeaModule ideaModule) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

        Value value = op.getResult();
    
        // Check whether dynamic range quantization can be applied.
        for (auto& use : value.getUses()) {
          Operation* user = use.getOwner();
          int operand_num = use.getOperandNumber();
          std::unique_ptr<OpQuantSpec> spec = GetTFOpQuantSpec(user);
    
          if (quant_specs_.inference_type == tensorflow::DT_QINT8 &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top