Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for weights (0.2 sec)

  1. pilot/pkg/config/kube/gateway/conversion.go

    	if forwardTo == nil {
    		return nil, nil, nil
    	}
    
    	weights := []int{}
    	action := []k8s.BackendRef{}
    	for _, w := range forwardTo {
    		wt := int(ptr.OrDefault(w.Weight, 1))
    		if wt == 0 {
    			continue
    		}
    		action = append(action, w)
    		weights = append(weights, wt)
    	}
    	if len(weights) == 1 {
    		weights = []int{0}
    	}
    
    	var invalidBackendErr *ConfigError
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    	{Name: string(v1.ResourceCPU), Weight: 1},
    	{Name: string(v1.ResourceMemory), Weight: 1},
    	{Name: string(v1.ResourcePods), Weight: 1},
    	{Name: string(v1.ResourceStorage), Weight: 1},
    	{Name: string(v1.ResourceEphemeralStorage), Weight: 1},
    	{Name: string(extendedResourceA), Weight: 1},
    	{Name: string(extendedResourceB), Weight: 1},
    	{Name: string(kubernetesIOResourceA), Weight: 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_test.go

    				Route: []*networking.RouteDestination{
    					{
    						Destination: &networking.Destination{
    							Host: "test.org",
    							Port: &networking.PortSelector{
    								Number: 80,
    							},
    						},
    						Weight: 100,
    					},
    				},
    			},
    		},
    	}
    )
    
    func TestInboundListenerConfig(t *testing.T) {
    	for _, p := range []*model.Proxy{getProxy(), &proxyHTTP10, &dualStackProxy} {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      ASSERT_THAT(op->inputs, SizeIs(3));
      ASSERT_THAT(op->outputs, SizeIs(1));
    
      auto float_graph = readonly_model_->subgraphs()->Get(0);
      // Verify FC input tensor and weight are int8 quantized.
      auto float_op = float_graph->operators()->Get(0);
      ASSERT_THAT(float_graph->tensors()->Get(float_op->inputs()->Get(0))->type(),
                  Eq(TensorType_FLOAT32));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top