Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 170 for weights (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/test/loadbalancersim/loadbalancer/leastrequest.go

    	lb.edfMutex.Lock()
    	selected := lb.edf.PickAndAdd(lb.calcEDFWeight).(*WeightedConnection)
    	lb.edfMutex.Unlock()
    
    	// Make the request.
    	lb.doRequest(selected, onDone)
    }
    
    func (lb *weightedLeastRequest) calcEDFWeight(_ float64, value any) float64 {
    	conn := value.(*WeightedConnection)
    
    	weight := float64(conn.Weight)
    	if lb.activeRequestBias >= 1.0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. 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)
  7. platforms/documentation/docs/src/docs/css/prettify.css

    #066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:700}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:700}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:700}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 673 bytes
    - Viewed (0)
  8. src/cmd/internal/pgo/serialize.go

    //
    //      GO PREPROFILE V1
    //      caller_name
    //      callee_name
    //      "call site offset" "call edge weight"
    //      ...
    //      caller_name
    //      callee_name
    //      "call site offset" "call edge weight"
    //
    // Entries are sorted by "call edge weight", from highest to lowest.
    
    const serializationHeader = "GO PREPROFILE V1\n"
    
    // WriteTo writes a serialized representation of Profile to w.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/cmd/internal/pgo/deserialize.go

    		edge := NamedCallEdge{
    			CallerName:     callerName,
    			CalleeName:     calleeName,
    			CallSiteOffset: co,
    		}
    
    		weight, err := strconv.ParseInt(split[1], 10, 64)
    		if err != nil {
    			return nil, fmt.Errorf("preprocessed profile error processing call weight: %w", err)
    		}
    
    		if _, ok := d.NamedEdgeMap.Weight[edge]; ok {
    			return nil, fmt.Errorf("preprocessed profile contains duplicate edge %+v", edge)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. pkg/scheduler/testing/framework/framework_helpers.go

    }
    
    // RegisterScorePlugin returns a function to register a Score Plugin to a given registry.
    func RegisterScorePlugin(pluginName string, pluginNewFunc runtime.PluginFactory, weight int32) RegisterPluginFunc {
    	return RegisterPluginAsExtensionsWithWeight(pluginName, weight, pluginNewFunc, "Score")
    }
    
    // RegisterPreScorePlugin returns a function to register a Score Plugin to a given registry.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top