Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for weights (0.16 sec)

  1. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

        LOG(INFO) << quantized_tensor->name()->str() << " "
                  << float_tensor->name()->str();
        if (ExpectEqualTensor(quantized_tensor, float_tensor)) {
          if (quantized && quantized_tensor->name()->str().find("weights")) {
            // If tensor is quantized, data type and buffer contents can be
            // different between float and quantized tensors. So do those tests
            // separately in the test body without checking them here.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // broadcasting support. This needs to be run immediately after HLO->TF
      // legalization; otherwise other passes like `ConvertTFBroadcastTo` will
      // constant fold the newly generated TF broadcast ops and materialize the
      // weights.
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TF::CreateBroadcastFoldPass());
    
      // Canonicalization after TF legalization.
      pass_manager.addNestedPass<mlir::func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_waypoint.go

    	weighted := make([]*route.WeightedCluster_ClusterWeight, 0)
    	for _, dst := range in.Route {
    		weight := &wrappers.UInt32Value{Value: uint32(dst.Weight)}
    		if dst.Weight == 0 {
    			// Ignore 0 weighted clusters if there are other clusters in the route.
    			// But if this is the only cluster in the route, then add it as a cluster with weight 100
    			if len(in.Route) == 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

        return cluster.emitOpError(
            CreateMissingAttributeMsg(tensorflow::kNumCoresPerReplicaAttr));
      int num_cores_per_replica = num_cores_per_replica_attr.getInt();
    
      // TODO(b/329483850): Support spmd ICI weight distribution so when num of core
      // per replica > 1, it does not need to be skipped.
      if (num_cores_per_replica != 1) return success();
    
      llvm::SetVector<Value> bcasts;
      cluster->walk([&](Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/types.go

    		if err != nil {
    			// We get here if the label selector failed to process
    			return nil, err
    		}
    		terms = append(terms, WeightedAffinityTerm{AffinityTerm: *t, Weight: v1Terms[i].Weight})
    	}
    	return terms, nil
    }
    
    // NewPodInfo returns a new PodInfo.
    func NewPodInfo(pod *v1.Pod) (*PodInfo, error) {
    	pInfo := &PodInfo{}
    	err := pInfo.Update(pod)
    	return pInfo, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one.go

    				metrics.Goroutines.WithLabelValues(metrics.PrioritizingExtender).Inc()
    				defer func() {
    					metrics.Goroutines.WithLabelValues(metrics.PrioritizingExtender).Dec()
    					wg.Done()
    				}()
    				prioritizedList, weight, err := extenders[extIndex].Prioritize(pod, nodes)
    				if err != nil {
    					// Prioritization errors from extender can be ignored, let k8s/other extenders determine the priorities
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  7. src/runtime/gc_test.go

    		start := time.Now()
    		runtime.ReadMemStats(&ms)
    		latencies = append(latencies, time.Since(start))
    	}
    	// Make sure to stop the timer before we wait! The load created above
    	// is very heavy-weight and not easy to stop, so we could end up
    	// confusing the benchmarking framework for small b.N.
    	b.StopTimer()
    	stop()
    
    	// Disable the default */op metrics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_builder.go

    	}
    	// clusters with discovery type STATIC, STRICT_DNS rely on cluster.LoadAssignment field.
    	// ServiceEntry's need to filter hosts based on subset.labels in order to perform weighted routing
    	var lbEndpoints []*endpoint.LocalityLbEndpoints
    
    	isPassthrough := subset.GetTrafficPolicy().GetLoadBalancer().GetSimple() == networking.LoadBalancerSettings_PASSTHROUGH
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top