- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for scale_fn (0.95 sec)
-
src/cmd/vendor/github.com/google/pprof/profile/profile.go
return } ratios := make([]float64, len(p.SampleType)) for i := range p.SampleType { ratios[i] = ratio } p.ScaleN(ratios) } // ScaleN multiplies each sample values in a sample by a different amount // and keeps only samples that have at least one non-zero value. func (p *Profile) ScaleN(ratios []float64) error { if len(p.SampleType) != len(ratios) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
if sampleType[i] == nil { ratios[i] = 1 continue } ratios[i], _ = Scale(1, st.Unit, sampleType[i].Unit) p.SampleType[i].Unit = sampleType[i].Unit } if err := p.ScaleN(ratios); err != nil { return fmt.Errorf("scale: %v", err) } } return nil } // CommonValueType returns the finest type from a set of compatible // types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_generated.h
auto max__ = max ? _fbb.CreateVector<float>(*max) : 0; auto scale__ = scale ? _fbb.CreateVector<float>(*scale) : 0; auto zero_point__ = zero_point ? _fbb.CreateVector<int64_t>(*zero_point) : 0; return tflite::CreateQuantizationParameters( _fbb, min__, max__, scale__, zero_point__, details_type, details, quantized_dimension);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 1M bytes - Viewed (0)