Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for bandwidth (0.25 sec)

  1. src/cmd/compile/internal/types/utils.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    const BADWIDTH = -1000000000
    
    type bitset8 uint8
    
    func (f *bitset8) set(mask uint8, b bool) {
    	if b {
    		*(*uint8)(f) |= mask
    	} else {
    		*(*uint8)(f) &^= mask
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 09:57:31 UTC 2020
    - 339 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

        histogram_flat.setZero();
    
        const float bin_width = CalculateBinWidth(min_value, max_value, num_bins);
        const float lower_bound = CalculateLowerBound(min_value, bin_width);
        for (int i = 0; i < input_flat.size(); ++i) {
          int32_t bin_index = CalculateBinIndexSafe(
              input_flat.data()[i], lower_bound, bin_width, num_bins);
          histogram_flat.data()[bin_index] += 1;
        }
      }
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/histogram.go

    }
    
    // ToHTML renders the histogram as HTML.
    func (h *TimeHistogram) ToHTML(urlmaker func(min, max time.Duration) string) template.HTML {
    	if h == nil || h.Count == 0 {
    		return template.HTML("")
    	}
    
    	const barWidth = 400
    
    	maxCount := 0
    	for _, count := range h.Buckets {
    		if count > maxCount {
    			maxCount = count
    		}
    	}
    
    	w := new(strings.Builder)
    	fmt.Fprintf(w, `<table>`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

        self._bin_width = hist_stats.bin_width
        self._lower_bound = hist_stats.lower_bound
        self._hist_freq = np.array(hist_stats.hist_freq)
        self._num_bins = len(self._hist_freq)
        self._num_bits = 8
        # i-th bin has a range [bins[i], bins[i + 1]).
        # bins[i] = lower_bound + i * bin_width
        # bins[i + 1] = lower_bound + (i + 1) * bin_width
        # So hist_mids[i] = (lower_bound + bin_width / 2) + bin_width * i
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/load/pkg.go

    // * Linux workstation with 6-core Intel Xeon CPU
    // * Linux workstation with 24-core Intel Xeon CPU
    //
    // It is very likely (though not confirmed) that this workload is limited
    // by memory bandwidth. We don't have a good way to determine the number of
    // workers that would saturate the bus though, so runtime.GOMAXPROCS
    // seems like a reasonable default.
    var preloadWorkerCount = runtime.GOMAXPROCS(0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.12.md

    - Traffic shaping is now supported for the CNI network driver. ([#63194](https://github.com/kubernetes/kubernetes/pull/63194), [@m1093782566](https://github.com/m1093782566))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 293.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

      const CalibrationStatistics& stats = statistics_map.statistics().at("1");
      ASSERT_TRUE(stats.has_histogram_statistics());
      EXPECT_FLOAT_EQ(stats.histogram_statistics().bin_width(), 0.5f);
      EXPECT_FLOAT_EQ(stats.histogram_statistics().lower_bound(), 1.f);
      EXPECT_THAT(stats.histogram_statistics().hist_freq(),
                  ElementsAre(1, 4, 6, 7, 3, 2, 1));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm_test.py

      )
      def test_histogram_calibration_methods(self, calibration_options):
        statistics = calib_stats_pb2.CalibrationStatistics()
        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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/fmt/doc.go

    		Printf("hi", "guys"):      hi%!(EXTRA string=guys)
    	Too few arguments: %!verb(MISSING)
    		Printf("hi%d"):            hi%!d(MISSING)
    	Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC)
    		Printf("%*s", 4.5, "hi"):  %!(BADWIDTH)hi
    		Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi
    	Invalid or invalid use of argument index: %!(BADINDEX)
    		Printf("%*[2]d", 7):       %!d(BADINDEX)
    		Printf("%.[2]d", 7):       %!d(BADINDEX)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    // range (0-65535) for the fields Width and Height.
    func randomTerminalSize() remotecommand.TerminalSize {
    	randWidth := uint16(mrand.Intn(int(math.Pow(2, 16))))
    	randHeight := uint16(mrand.Intn(int(math.Pow(2, 16))))
    	return remotecommand.TerminalSize{
    		Width:  randWidth,
    		Height: randHeight,
    	}
    }
    
    // TestStreamTranslator_MultipleWriteChannels
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top