Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetHistogram (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc

        ids.push_back(op.getId());
        calibration_methods.push_back(op.getCalibrationMethod());
        statistics_outputs.push_back(op.getMin());
        statistics_outputs.push_back(op.getMax());
        statistics_outputs.push_back(op.getHistogram());
      }
    }
    
    // Inserts a `CalibrationStatisticsSaverOp` to the end of the region.
    LogicalResult InsertCalibrationStatisticsSaverOp(
        Region& region, MLIRContext& ctx, absl::string_view output_file_path,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		err := promMetric.Write(dtoMetric)
    		if err != nil {
    			// Log error and continue to receive other metric
    			// values
    			bugLogIf(GlobalContext, err)
    			continue
    		}
    
    		h := dtoMetric.GetHistogram()
    		for _, b := range h.Bucket {
    			labels := make(map[string]string)
    			for _, lp := range dtoMetric.GetLabel() {
    				if *lp.Name == "api" && toLowerAPILabels {
    					labels[*lp.Name] = strings.ToLower(*lp.Value)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  3. cmd/metrics-v3-api.go

    //
    // This is a `MetricsLoaderFn`.
    func loadAPIRequestsTTFBMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	renameLabels := map[string]string{"api": "name"}
    	m.SetHistogram(apiRequestsTTFBSecondsDistribution, httpRequestsDuration, renameLabels, nil,
    		"type", "s3")
    	return nil
    }
    
    // loadAPIRequestsNetworkMetrics - loads S3 network metrics.
    //
    // This is a `MetricsLoaderFn`.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. cmd/metrics-v3-types.go

    	}
    	// If valid non zero value set the metrics
    	if value > 0 {
    		m.values[name] = append(v, metricValue{
    			Labels: labelMap,
    			Value:  value,
    		})
    	}
    }
    
    // SetHistogram - sets values for the given MetricName using the provided
    // histogram.
    //
    // `renameLabels` is a map of label names to rename. The keys are the original
    // label names and the values are the new label names.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top