- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 503 for weights (0.4 sec)
-
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) -
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) -
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) -
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) -
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) -
pkg/proxy/ipvs/graceful_termination_test.go
{ name: "graceful delete, real server has active connections, weight should be 0 but don't delete", vs: &utilipvs.VirtualServer{ Address: netutils.ParseIPSloppy("1.1.1.1"), Protocol: "tcp", Port: uint16(80), }, rs: &utilipvs.RealServer{ Address: netutils.ParseIPSloppy("10.0.0.1"), Port: uint16(80), Weight: 100, ActiveConn: 10, InactiveConn: 0, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 11K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/defaults_test.go
{Name: names.VolumeZone}, {Name: names.PodTopologySpread, Weight: ptr.To[int32](2)}, {Name: names.InterPodAffinity, Weight: ptr.To[int32](2)}, {Name: names.DefaultPreemption}, {Name: names.NodeResourcesBalancedAllocation, Weight: ptr.To[int32](1)}, {Name: names.ImageLocality, Weight: ptr.To[int32](1)}, {Name: names.DefaultBinder}, }, }, Bind: configv1.PluginSet{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:03:04 UTC 2024 - 27.9K bytes - Viewed (0) -
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) -
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) -
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)