Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 141 for histograms (0.18 sec)

  1. cmd/metrics-v2_gen.go

    				return
    			}
    		case "Histogram":
    			var zb0004 uint32
    			zb0004, bts, err = msgp.ReadMapHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Histogram")
    				return
    			}
    			if z.Histogram == nil {
    				z.Histogram = make(map[string]uint64, zb0004)
    			} else if len(z.Histogram) > 0 {
    				for key := range z.Histogram {
    					delete(z.Histogram, key)
    				}
    			}
    			for zb0004 > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

    TEST_F(CompileTFGraphTest, RecordsStreamzForMlirFallback) {
      CellReader<Histogram> compilation_time(kCompilationTimeStreamzName);
    
      MlirToHloArgs mlir_to_hlo_args = CreateTestMlirToHloArgs();
    
      TF_EXPECT_OK(CompileWithComputation(mlir_to_hlo_args).status());
    
      Histogram histogram = compilation_time.Delta("graph_old_bridge_has_mlir");
    
      EXPECT_EQ(histogram.num(), 1);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

      inputs.emplace_back("min", 0, DT_FLOAT);
      inputs.emplace_back("max", 0, DT_FLOAT);
      inputs.emplace_back("histogram", 0, DT_INT64);
      inputs.emplace_back("min", 0, DT_FLOAT);
      inputs.emplace_back("max", 0, DT_FLOAT);
      inputs.emplace_back("histogram", 0, DT_INT64);
    
      const std::string dir = testing::TmpDir();
      const std::string output_file_path = io::JoinPath(dir, "statistics.pbtxt");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. src/image/decode_example_test.go

    			// Shifting by 12 reduces this to the range [0, 15].
    			histogram[r>>12][0]++
    			histogram[g>>12][1]++
    			histogram[b>>12][2]++
    			histogram[a>>12][3]++
    		}
    	}
    
    	// Print the results.
    	fmt.Printf("%-14s %6s %6s %6s %6s\n", "bin", "red", "green", "blue", "alpha")
    	for i, x := range histogram {
    		fmt.Printf("0x%04x-0x%04x: %6d %6d %6d %6d\n", i<<12, (i+1)<<12-1, x[0], x[1], x[2], x[3])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 29 03:16:17 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  5. pkg/monitoring/monitortest/test.go

    	if row.Counter != nil {
    		return fmt.Sprint(*row.Counter.Value)
    	} else if row.Gauge != nil {
    		return fmt.Sprint(*row.Gauge.Value)
    	} else if row.Histogram != nil {
    		return fmt.Sprintf("histogram{count=%v,sum=%v}", *row.Histogram.SampleCount, *row.Histogram.SampleSum)
    	} else if row.Summary != nil {
    		return fmt.Sprintf("summary{count=%v,sum=%v}", *row.Summary.SampleCount, *row.Summary.SampleSum)
    	}
    	return "?"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.7.md

    	      * Time duration tracked was of the initial API call, not the entire operation.
    
    	      * Metrics label tuple would have resulted in many independent histograms stored, one for each disk. (Did not aggregate well).
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding_test.go

    		// histogram maps (count of times a hand is seen) to (number of hands having that count)
    		histogram := make(map[int]int)
    		for _, count := range handCoordinateMap {
    			histogram[count] = histogram[count] + 1
    		}
    
    		var goodSum int
    		for count := minCount; count <= maxCount; count++ {
    			goodSum += histogram[count]
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 25 06:44:08 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_activity.proto

    import "tensorflow/core/protobuf/config.proto";
    
    // Summarizes the results of auto-clustering a TensorFlow graph.
    //
    // Next ID: 5
    message XlaAutoClusteringSummary {
      // Represents a single element in a histogram of ops ("op" as in "TensorFlow
      // operation").
      //
      // Next ID: 3
      message OpAndCount {
        // The TensorFlow operation (like MatMult, Add etc.)
        string op = 1;
    
        // The number of times this occurs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 15 03:11:33 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_histogram.h

      void ClearData() override;
    
      void Collect(float min, float max,
                   absl::Span<const int64_t> histogram) override;
    
      std::optional<CalibrationStatistics> GetStatistics() const override;
    
     private:
      // Expands the histogram so the lower_bound and upper_bound can fit in the
      // histogram. Returns the indexes associated to those values.
      std::pair<int32_t, int32_t> ExpandHistogramIfNeeded(float lower_bound,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 16 04:33:52 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/metrics/metrics.go

    const (
    	namespace = "apiserver"
    	subsystem = "cel"
    )
    
    // Metrics provides access to CEL metrics.
    var Metrics = newCelMetrics()
    
    type CelMetrics struct {
    	compilationTime *metrics.Histogram
    	evaluationTime  *metrics.Histogram
    }
    
    func newCelMetrics() *CelMetrics {
    	m := &CelMetrics{
    		compilationTime: metrics.NewHistogram(&metrics.HistogramOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 09 23:50:48 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top