Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Quantiles (0.19 sec)

  1. src/internal/trace/gc_test.go

    		mmuCurve2 := trace.NewMMUCurve(mu)
    		quantiles := []float64{0, 1 - .999, 1 - .99}
    		for window := time.Microsecond; window < time.Second; window *= 10 {
    			mud1 := mmuCurve.MUD(window, quantiles)
    			mud2 := mmuCurve2.MUD(window, quantiles)
    			for i := range mud1 {
    				if !aeq(mud1[i], mud2[i]) {
    					t.Errorf("for quantiles %v at window %v, want %v, got %v", quantiles, window, mud2, mud1)
    					break
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/internal/trace/gc.go

    	// distribution quantile is less than the next worst-case mean
    	// mutator utilization. At this point, all further
    	// contributions to the distribution must be beyond the
    	// desired quantile and hence cannot affect it.
    	//
    	// First, find the highest desired distribution quantile.
    	maxQ := quantiles[0]
    	for _, q := range quantiles {
    		if q > maxQ {
    			maxQ = q
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. cmd/admin-server-info.go

    					}
    				}
    			}
    		}
    	}
    
    	var memstats runtime.MemStats
    	runtime.ReadMemStats(&memstats)
    
    	gcStats := debug.GCStats{
    		// If stats.PauseQuantiles is non-empty, ReadGCStats fills
    		// it with quantiles summarizing the distribution of pause time.
    		// For example, if len(stats.PauseQuantiles) is 5, it will be
    		// filled with the minimum, 25%, 50%, 75%, and maximum pause times.
    		PauseQuantiles: make([]time.Duration, 5),
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/runtime/debug/garbage.go

    // stats.Pause slice will be reused if large enough, reallocated otherwise.
    // ReadGCStats may use the full capacity of the stats.Pause slice.
    // If stats.PauseQuantiles is non-empty, ReadGCStats fills it with quantiles
    // summarizing the distribution of pause time. For example, if
    // len(stats.PauseQuantiles) is 5, it will be filled with the minimum,
    // 25%, 50%, 75%, and maximum pause times.
    func ReadGCStats(stats *GCStats) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

        )
    
        # Get index of min/max quantile.
        min_quantile_idx, max_quantile_idx = (
            np.searchsorted(hist_freq_cumsum, min_quantile, side='right'),
            np.searchsorted(hist_freq_cumsum, max_quantile, side='left'),
        )
    
        # Get value of min/max quantile index.
        min_value, max_value = (
            self._hist_mids[min_quantile_idx],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.cc

                dst_saved_model_path, *exported_model, src_saved_model_path, tags,
                signature_def_map);
    
            return absl::OkStatus();
          },
          R"pbdoc(
          Quantizes a model that went through quantization-aware training (QAT)
          saved at `src_saved_model_path`. The resulting model will be saved to
          `dst_saved_model_path`. Returns an OK sataus when successful, otherwise
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

     private:
      [[deprecated(
          "Do not rely on this field for per-channel quantization. Use `Method` "
          "instead.")]] const bool enable_per_channel_quantized_weight_;
    };
    
    // Quantizes op with regions such as stablehlo.reduce_window op.
    // Quantizes only when the nested region consists of ops whose quantization
    // parameters can be propagated from outside.
    class QuantizeOpWithRegionPattern
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h

    #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.pb.h"
    
    namespace mlir::quant::stablehlo {
    
    // Creates a pass that quantizes weight component of StableHLO graph.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizeWeightPass(
        const ::stablehlo::quantization::QuantizationComponentSpec&
            quantization_component_spec = {});
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

        quantization_options: _QuantizationOptions,
        representative_dataset: Optional[
            repr_dataset.RepresentativeDatasetOrMapping
        ] = None,
    ) -> autotrackable.AutoTrackable:
      """Quantizes the given SavedModel via static range quantization.
    
      If the model is not trained with Quantization-Aware Training (QAT) technique,
      it requires `representative_dataset` to collect statistics required for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h

    #include "tensorflow/compiler/mlir/lite/debug/debug_options.pb.h"
    #include "tensorflow/compiler/mlir/lite/schema/schema_generated.h"
    #include "tensorflow/lite/c/c_api_types.h"
    
    namespace mlir {
    namespace lite {
    
    // Quantizes the input model represented as `model_buffer` and writes the result
    // to the `output_buffer`. Both `model_buffer` and `output_buffer` should be a
    // valid FlatBuffer format for Model supported by TFLite.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top