Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for cl_weight (0.21 sec)

  1. pkg/scheduler/framework/plugins/noderesources/least_allocated.go

    // prioritizes based on the minimum of the average of the fraction of requested to capacity.
    //
    // Details:
    // (cpu((capacity-requested)*MaxNodeScore*cpuWeight/capacity) + memory((capacity-requested)*MaxNodeScore*memoryWeight/capacity) + ...)/weightSum
    func leastResourceScorer(resources []config.ResourceSpec) func([]int64, []int64) int64 {
    	return func(requested, allocable []int64) int64 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 12 01:50:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/most_allocated.go

    // based on the maximum of the average of the fraction of requested to capacity.
    //
    // Details:
    // (cpu(MaxNodeScore * requested * cpuWeight / capacity) + memory(MaxNodeScore * requested * memoryWeight / capacity) + ...) / weightSum
    func mostResourceScorer(resources []config.ResourceSpec) func(requested, allocable []int64) int64 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 21 15:23:47 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_lifting.mlir

    // CHECK: %[[q_weight:.*]] = "quantfork.qcast"(%[[cst]]) : (tensor<2x3x3x2xf32>) -> tensor<2x3x3x2x!quant.uniform<i8<-127:127>:f32:3, {0.005567213212411235,0.005567213212411235}>>
    // CHECK: %[[dq_weight:.*]] = "quantfork.dcast"(%[[q_weight]]) : (tensor<2x3x3x2x!quant.uniform<i8<-127:127>:f32:3, {0.005567213212411235,0.005567213212411235}>>) -> tensor<2x3x3x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. pilot/pkg/model/service_test.go

    			ServiceAccount:  "service-account",
    			Network:         "Network",
    			Locality: Locality{
    				ClusterID: "cluster-id",
    				Label:     "region1/zone1/subzone1",
    			},
    			EndpointPort: 22,
    			LbWeight:     100,
    			TLSMode:      "mutual",
    		},
    	}
    	differingAddr := exampleInstance.DeepCopy()
    	differingAddr.Endpoint.Address = "another-address"
    	differingNetwork := exampleInstance.DeepCopy()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_builder_test.go

    						},
    						LbWeight: 30,
    					},
    				},
    				{
    					Service:     service,
    					ServicePort: servicePort,
    					Endpoint: &model.IstioEndpoint{
    						Address:      "192.168.1.2",
    						EndpointPort: 10001,
    						Locality: model.Locality{
    							ClusterID: "cluster-2",
    							Label:     "region1/zone1/subzone1",
    						},
    						LbWeight: 30,
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      }
      // TODO: b/323478683 - Make storage_type_width and narrow_range configurable.
      Type final_type;
      const auto it = optimized_weights_.find(op);
      const bool is_weight = it != optimized_weights_.end();
      const bool is_weight_with_per_channel_support =
          is_weight && it->second != -1 && is_signed_;
    
      if (is_weight_with_per_channel_support && !disable_per_channel_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/conversion.go

    			LegacyClusterPortKey: int(servicePort.Number),
    			Network:              network.ID(wle.Network),
    			Locality: model.Locality{
    				Label:     locality,
    				ClusterID: clusterID,
    			},
    			LbWeight:       wle.Weight,
    			Labels:         labels,
    			TLSMode:        tlsMode,
    			ServiceAccount: sa,
    			// Workload entry config name is used as workload name, which will appear in metric label.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. pilot/pkg/model/service.go

    }
    
    // GetLoadBalancingWeight returns the weight for this endpoint, normalized to always be > 0.
    func (ep *IstioEndpoint) GetLoadBalancingWeight() uint32 {
    	if ep.LbWeight > 0 {
    		return ep.LbWeight
    	}
    	return 1
    }
    
    // IsDiscoverableFromProxy indicates whether this endpoint is discoverable from the given Proxy.
    func (ep *IstioEndpoint) IsDiscoverableFromProxy(p *Proxy) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_test.go

    				Address:         "6.6.6.6",
    				ServicePortName: servicePort[0].Name,
    				EndpointPort:    10001,
    				Locality: model.Locality{
    					ClusterID: "",
    					Label:     "region1/zone1/subzone1",
    				},
    				LbWeight: 40,
    				TLSMode:  model.IstioMutualTLSModeLabel,
    			},
    		},
    		{
    			Service:     service,
    			ServicePort: servicePort[0],
    			Endpoint: &model.IstioEndpoint{
    				Address:         "6.6.6.6",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top