Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for getAxes (0.2 sec)

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

        llvm::MapVector<Operation*, llvm::SmallVector<unsigned int, 4>>*
            arguments_to_erase) {
      auto arg = region->getArgument(argument_index);
      for (auto& usage : arg.getUses()) {
        auto* user_op = usage.getOwner();
        int operand_index = usage.getOperandNumber();
        PropagateUsage(user_op, operand_index, value, work_list,
                       arguments_to_erase);
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClient.java

            workerClient.stop();
        }
    
        public void kill() {
            workerClient.stopNow();
        }
    
        DaemonForkOptions getForkOptions() {
            return forkOptions;
        }
    
        public int getUses() {
            return uses;
        }
    
        public KeepAliveMode getKeepAliveMode() {
            return forkOptions.getKeepAliveMode();
        }
    
        public LogLevel getLogLevel() {
            return logLevel;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. pkg/volume/fc/attacher.go

    	}
    	if mountArgs.SELinuxLabel != "" {
    		options = volumeutil.AddSELinuxMountOption(options, mountArgs.SELinuxLabel)
    	}
    	if notMnt {
    		diskMounter := &mount.SafeFormatAndMount{Interface: mounter, Exec: attacher.host.GetExec(fcPluginName)}
    		mountOptions := volumeutil.MountOptionFromSpec(spec, options...)
    		err = diskMounter.FormatAndMount(devicePath, deviceMountPath, volumeSource.FSType, mountOptions)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  4. pkg/volume/fc/fc.go

    	// Inject real implementations here, test through the internal function.
    	return plugin.newMounterInternal(spec, pod.UID, &fcUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()))
    }
    
    func (plugin *fcPlugin) newMounterInternal(spec *volume.Spec, podUID types.UID, manager diskManager, mounter mount.Interface, exec utilexec.Interface) (volume.Mounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc

        const ShapedType type = mlir::dyn_cast<ShapedType>(op.getType());
        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)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

      // Figure out output shapes.
      SmallVector<int64_t, 4> concat_out_shape;
      SmallVector<int64_t, 4> pack_out_shape;
    
      const int64_t rank = input_type.getRank();
      int64_t pack_axis = pack_op.getAxis();
      size_t count = pack_inputs.size();
      if (pack_axis < 0) {
        pack_axis += rank;
      }
    
      // Concat out shape.
      for (int i = 0; i < rank; ++i) {
        int64_t dim_size = input_type.getDimSize(i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/replicate_tensor_list_init_ops_pass.cc

    template <typename T>
    void ReplicateTensorListForUses(T tensor_list_op) {
      Value tensor_list = tensor_list_op.getResult();
      std::vector<OpOperand*> uses;
      for (auto& use : tensor_list.getUses()) {
        uses.emplace_back(&use);
      }
      OpBuilder builder(tensor_list_op.getOperation());
      for (OpOperand* operand : uses) {
        auto new_op = builder.clone(*tensor_list_op.getOperation());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 22 17:28:34 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/constant_op_device_assignment.cc

        }
        OpBuilder builder(op);
        llvm::StringMap<mlir::Operation *> cloned_op_by_device;
        bool all_uses_replaced = true;
    
        for (mlir::OpOperand &use :
             llvm::make_early_inc_range(op.getResult().getUses())) {
          mlir::Operation *user_op = use.getOwner();
          StringAttr device_attr = user_op->getAttrOfType<StringAttr>(kDeviceAttr);
          if (!device_attr) {
            all_uses_replaced = false;
            continue;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/volume_host.go

    	return func(types.UID) {
    		//nolint:logcheck
    		klog.ErrorS(nil, "DeleteServiceAccountToken unsupported in PersistentVolumeController")
    	}
    }
    
    func (adc *PersistentVolumeController) GetExec(pluginName string) utilexec.Interface {
    	return utilexec.New()
    }
    
    func (ctrl *PersistentVolumeController) GetNodeLabels() (map[string]string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/iscsi.go

    	secret, err := createSecretMap(spec, plugin, pod.Namespace)
    	if err != nil {
    		return nil, err
    	}
    	return plugin.newMounterInternal(spec, pod.UID, &ISCSIUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()), secret)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top