Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 498 for weighted (0.14 sec)

  1. pkg/scheduler/apis/config/scheme/scheme_test.go

          resources:
            - name: cpu       # default weight(1) will be set.
            - name: memory    # weight 0 will be replaced by 1.
              weight: 0
            - name: scalar0
              weight: 1
            - name: scalar1   # default weight(1) will be set for scalar1
            - name: scalar2   # weight 0 will be replaced by 1.
              weight: 0
            - name: scalar3
              weight: 2
    `),
    			wantProfiles: []config.KubeSchedulerProfile{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    					{
    						Name:   "cpu",
    						Weight: 1,
    					},
    					{
    						Name:   "memory",
    						Weight: 1,
    					},
    				},
    			},
    		},
    		"invalid config": {
    			args: &config.NodeResourcesBalancedAllocationArgs{
    				Resources: []config.ResourceSpec{
    					{
    						Name:   "cpu",
    						Weight: 2,
    					},
    					{
    						Name:   "memory",
    						Weight: 1,
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    			w = t.FlatValue()
    		}
    		if w == 0 {
    			continue
    		}
    		weight := b.config.FormatValue(w)
    		nodelets += fmt.Sprintf(`N%d_%d [label = "%s" id="N%d_%d" fontsize=8 shape=box3d tooltip="%s"]`+"\n", nodeID, i, t.Name, nodeID, i, weight)
    		nodelets += fmt.Sprintf(`N%d -> N%d_%d [label=" %s" weight=100 tooltip="%s" labeltooltip="%s"]`+"\n", nodeID, nodeID, i, weight, weight, weight)
    		if nts := lnts[t.Name]; nts != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

        (SupportedAffineOpMatcher $conv_out, $input, $weight),
        (TF_ConstOp:$mul_rhs IsFloatElementsAttr:$mul_rhs_value)),
      (CloneOpWithReplacedOperands
            (GetDefiningOp $conv_out),
            $input,
            (MultiplyFakeQuantValue $weight,
              (MakeOneDimValueBroadcastable $mul_rhs, $weight))),
      [(HasOneUse $conv_out),
       (HasRankOf<1> $mul_rhs_value),
       (HasStaticShapeConstraint $weight),
       (CanBeSymmetricallyQuantized $weight),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. pkg/ctrlz/assets/static/css/all.css

            color: #ddd;
            background-color: #5a5a5a;
            font-weight: 300
        }
    }
    
    a {
        color: #e9ffaa;
        text-decoration: none;
        font-weight: 300
    }
    
    a:hover, a:focus {
        color: #de7d40;
        text-decoration: underline;
        font-weight: 300
    }
    
    a.disabled {
        color: #444;
        text-decoration: none;
        font-weight: 300
    }
    
    a.active {
        color: #de7d40;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      BroadcastBatchDimensionsForBatchMatMul(builder, loc, input, weight);
    
      // Both input and weight have the same rank after broadcasting.
      ShapedType weight_shape = mlir::cast<ShapedType>(weight.getType());
      int num_batch_dim = weight_shape.getRank() - 2;
    
      // Transpose and constant-fold the weight if needed.
      if (adj_y.getValue()) {
        SmallVector<int32_t> perm_values(num_batch_dim);
        absl::c_iota(perm_values, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. pilot/test/xdstest/endpoints.go

    					found = true
    
    					// Now compare the weight.
    					if lbEp.GetLoadBalancingWeight().Value != wantLbEp.Weight {
    						return fmt.Errorf("unexpected weight for endpoint %s: got %v, want %v",
    							addr, lbEp.GetLoadBalancingWeight().Value, wantLbEp.Weight)
    					}
    					break
    				}
    			}
    			if !found {
    				return fmt.Errorf("unexpected address for endpoint %d: %v", i, addr)
    			}
    		}
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/noderesources/test_util.go

    	defaultResources     = []config.ResourceSpec{
    		{Name: string(v1.ResourceCPU), Weight: 1},
    		{Name: string(v1.ResourceMemory), Weight: 1},
    	}
    	extendedRes         = "abc.com/xyz"
    	extendedResourceSet = []config.ResourceSpec{
    		{Name: string(v1.ResourceCPU), Weight: 1},
    		{Name: string(v1.ResourceMemory), Weight: 1},
    		{Name: extendedRes, Weight: 1},
    	}
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 01:07:28 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. pkg/test/loadbalancersim/loadbalancer/edf.go

    	currentDeadline float64
    }
    
    // Add a new entry for load balance
    func (e *EDF) Add(weight float64, value any) {
    	e.currentIndex++
    	heap.Push(e.pq, &Entry{
    		value:    value,
    		weight:   weight,
    		deadline: e.currentDeadline + 1/weight,
    		index:    e.currentIndex,
    	})
    }
    
    // PickAndAdd picks an available entry and re-adds it with the given weight calculation
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/v1/defaults.go

    	if len(obj.Resources) == 0 {
    		obj.Resources = defaultResourceSpec
    		return
    	}
    	// If the weight is not set or it is explicitly set to 0, then apply the default weight(1) instead.
    	for i := range obj.Resources {
    		if obj.Resources[i].Weight == 0 {
    			obj.Resources[i].Weight = 1
    		}
    	}
    }
    
    func SetDefaults_PodTopologySpreadArgs(obj *configv1.PodTopologySpreadArgs) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top