Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for histograms (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm_test.py

        statistics.histogram_statistics.lower_bound = 0.0
        statistics.histogram_statistics.bin_width = 1.0
    
        hist_freq = np.zeros(501, dtype=np.int32)
    
        # Advanced calibration methods that use histograms detect outliers, so they
        # don't use the outliers as min/max values.
        hist_freq[0] = 1
        hist_freq[-1] = 1
    
        # The majority of the data exists around the center.
        hist_freq[250] = 1000
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/counter/doc.go

    //     the entity name itself contains a '/', that's ok: "cmd/go/flag" is fine.
    //
    //   - Words should be '-' separated, as in "gopls/completion/errors-latency"
    //
    //   - Histograms should use bucket names identifying upper bounds with '<'.
    //     For example given two counters "gopls/completion/latency:<50ms" and
    //     "gopls/completion/latency:<100ms", the "<100ms" bucket counts events
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver_with_skipping.mlir

    // CKECK-SAME: <{calibration_method = 5 : i32, id = "skipping_id", num_bins = 32 : i32, max_percentile = 0.000000e+00 : f32, min_percentile = 0.000000e+00 : f32}> : (tensor<1x3x4x3xf32>) -> (tensor<1x3x4x3xf32>, tensor<f32>, tensor<f32>, tensor<512xi64>)
    // CHECK: %[[CUSTOM_AGGREGATOR_1:.*]], %[[MIN_1:.*]], %[[MAX_1:.*]], %[[HISTOGRAM_1:.*]] = "tf.CustomAggregator"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/runtime/histogram.go

    // timeHistogram represents a distribution of durations in
    // nanoseconds.
    //
    // The accuracy and range of the histogram is defined by the
    // timeHistSubBucketBits and timeHistNumBuckets constants.
    //
    // It is an HDR histogram with exponentially-distributed
    // buckets and linearly distributed sub-buckets.
    //
    // The histogram is safe for concurrent reads and writes.
    type timeHistogram struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/histogram.go

    	"math"
    	"strings"
    	"time"
    )
    
    // TimeHistogram is an high-dynamic-range histogram for durations.
    type TimeHistogram struct {
    	Count                int
    	Buckets              []int
    	MinBucket, MaxBucket int
    }
    
    // Five buckets for every power of 10.
    var logDiv = math.Log(math.Pow(10, 1.0/5))
    
    // Add adds a single sample to the histogram.
    func (h *TimeHistogram) Add(d time.Duration) {
    	var bucket int
    	if d > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/runtime/metrics/histogram.go

    type Float64Histogram struct {
    	// Counts contains the weights for each histogram bucket.
    	//
    	// Given N buckets, Count[n] is the weight of the range
    	// [bucket[n], bucket[n+1]), for 0 <= n < N.
    	Counts []uint64
    
    	// Buckets contains the boundaries of the histogram buckets, in increasing order.
    	//
    	// Buckets[0] is the inclusive lower bound of the minimum bucket while
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 03:43:44 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  7. releasenotes/notes/bootstrap-histogram-buckets.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: telemetry
    issue: []
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 13 21:29:54 UTC 2023
    - 221 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_histogram.cc

    }
    
    void CalibrationStatisticsCollectorHistogram::Collect(
        const float min, const float max, absl::Span<const int64_t> histogram) {
      if (histogram.empty()) return;
    
      // Reconstruct the bin width, lower and upper bound from the collected data.
      const float collected_bin_width =
          CalculateBinWidth(min, max, histogram.size());
      const float collected_lower_bound =
          CalculateLowerBound(min, collected_bin_width);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/integration_test/custom_aggregator_op_test.py

          self.assertLen(aggregator_output.histogram, 512)
          self.assertEqual(sum(aggregator_output.histogram), 5)
          self.assertEqual(aggregator_output.histogram[0], 2)
          self.assertEqual(aggregator_output.histogram[128], 1)
          self.assertEqual(aggregator_output.histogram[192], 1)
          self.assertEqual(aggregator_output.histogram[320], 1)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. tensorflow/c/kernels/histogram_summary_op.cc

      auto values_array = static_cast<T*>(TF_TensorData(safe_values_ptr.get()));
      tensorflow::histogram::Histogram histo;
      for (int64_t i = 0; i < TF_TensorElementCount(safe_values_ptr.get()); ++i) {
        const double double_val = static_cast<double>(values_array[i]);
        if (Eigen::numext::isnan(double_val)) {
          std::ostringstream err;
          err << "Nan in summary histogram for: " << k->op_node_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top