Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of about 10,000 for Reserve (3.97 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

      SmallVector<double, 4> min_value, max_value;
      const auto mins = dyn_cast<DenseFPElementsAttr>(min);
      const auto maxs = dyn_cast<DenseFPElementsAttr>(max);
      if (mins && maxs) {
        min_value.reserve(mins.getNumElements());
        max_value.reserve(maxs.getNumElements());
        for (auto it = mins.begin(); it != mins.end(); ++it) {
          min_value.push_back(FloatAttr::getValueAsDouble(*it));
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    	return nil
    }
    
    // Reserve reserves volumes of pod and saves binding status in cycle state.
    func (pl *VolumeBinding) Reserve(ctx context.Context, cs *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status {
    	state, err := getStateData(cs)
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    	// we don't need to hold the lock as only one node will be reserved for the given pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/validation/validation.go

    			"filter":     profile.Plugins.Filter,
    			"postFilter": profile.Plugins.PostFilter,
    			"preScore":   profile.Plugins.PreScore,
    			"score":      profile.Plugins.Score,
    			"reserve":    profile.Plugins.Reserve,
    			"permit":     profile.Plugins.Permit,
    			"preBind":    profile.Plugins.PreBind,
    			"bind":       profile.Plugins.Bind,
    			"postBind":   profile.Plugins.PostBind,
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc

        // non-quantized int64
        if (allTypesFp || allTypesQuantizedOrInt) return failure();
    
        Location loc = op->getLoc();
        SmallVector<Value> newOperands;
        newOperands.reserve(op->getNumOperands());
        for (auto operand : op->getOperands()) {
          if (QuantizedType::getQuantizedElementType(operand.getType())) {
            auto newTy = QuantizedType::castToExpressedType(operand.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      if (region.empty()) return;
    
      assert(llvm::hasSingleElement(region.getBlocks()));
    
      auto results = region.front().getTerminator()->getOperands();
      if (results.empty()) return;
    
      backtracked_values_.reserve(results.size());
      for (auto result : results)
        backtracked_values_.push_back(backtrack_analysis.BacktrackValue(result));
    }
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      TF_RETURN_IF_ERROR(ValidateSavedFunctionCompatibleWithFunctionDef(
          saved_concrete_function, function_def));
    
      // Copy over captures
      std::vector<ImmediateExecutionTensorHandle*> captures;
      captures.reserve(saved_concrete_function.bound_inputs_size());
      for (int bound_input : saved_concrete_function.bound_inputs()) {
        auto iter = captured_objects.find(bound_input);
        if (iter == captured_objects.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc

                             func::FuncOp fn, OpBuilder* builder) {
      FunctionType fn_type = fn.getFunctionType();
      llvm::SmallVector<Value, 4> operands;
      int num_operands = fn_type.getNumInputs();
      operands.reserve(num_operands);
      for (int i = 0; i < num_operands; ++i) {
        Value val = get_arg(i);
        Type expected = fn_type.getInput(i);
        if (val.getType() != expected) {
          val =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 13 11:42:59 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/ipallocator.go

    	a.metrics.setAllocated(a.metricLabel, a.Used())
    	a.metrics.setAvailable(a.metricLabel, a.Free())
    	return nil
    }
    
    // Allocate attempts to reserve the provided IP. ErrNotInRange or
    // ErrAllocated will be returned if the IP is not valid for this range
    // or has already been reserved.  ErrFull will be returned if there
    // are no addresses left.
    // Only for testing, it will fail to create the IPAddress object because
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/support.go

    }
    
    const maxlines = 64 * 1024
    
    func (s *fakeFileSet) pos(file string, line, column int) token.Pos {
    	// TODO(mdempsky): Make use of column.
    
    	// Since we don't know the set of needed file positions, we reserve
    	// maxlines positions per file. We delay calling token.File.SetLines until
    	// all positions have been calculated (by way of fakeFileSet.setLines), so
    	// that we can avoid setting unnecessary lines. See also golang/go#46586.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/test_utils.cc

          /* device_mgr_owned= */ false, /* rendezvous= */ nullptr,
          /* cluster_flr= */ nullptr));
    }
    
    std::vector<DataType> DataTypeSetToVector(DataTypeSet set) {
      std::vector<DataType> result;
      result.reserve(set.size());
      for (DataType dt : set) {
        result.push_back(dt);
      }
      return result;
    }
    
    std::vector<std::vector<int64_t>> InterestingShapes() {
      std::vector<std::vector<int64_t>> interesting_shapes;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:13:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top