Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 141 for Floor (0.06 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc

      const float kern_size = pool.kh * pool.kw;
    
      // LEMMA 1: Changing the rounding mode from floor to ceil will increase an
      // output dimension by at most 1 (see `ComputeSpatialOutDim`). This is because
      // for any `x`, `ceil(x) - floor(x) <= 1`.
    
      // Consider that we pad the input of a average pool with floor rounding to the
      // appropriate size and switch the rounding mode to ceil. When computing the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/lib/lib-grid.libsonnet

                panels: sanitizePanels(sanePanel.panels, std.length(sanePanel.panels)),
              }
              else sanePanel + {
                gridPos+: {
                  h: panelHeight,
                  w: std.floor(gridWidth/row),
                },
              }
            ),
          ps
        );
        local sanitizedPanels = sanitizePanels(panels, 0);
    
        local grouped = panelUtil.groupPanelsInRows(sanitizedPanels);
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      @CheckForNull
      public E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      @CheckForNull
      public E higher(E element) {
        return forward.lower(element);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      @CheckForNull
      public E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      @CheckForNull
      public E higher(E element) {
        return forward.lower(element);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters.h

    inline float CalculateLowerBound(const float min_value, const float bin_width) {
      return std::floor(min_value / bin_width) * bin_width;
    }
    
    // Calculates the bin index of the current value.
    inline int32_t CalculateBinIndex(const float value, const float lower_bound,
                                     const float bin_width) {
      return std::floor((value - lower_bound) / bin_width);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/LongMath.java

         * can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x)) is 6,
         * then 64 <= x < 128, so floor(log10(x)) is either 1 or 2.
         */
        int y = maxLog10ForLeadingZeros[Long.numberOfLeadingZeros(x)];
        /*
         * y is the higher of the two possible values of floor(log10(x)). If x < 10^y, then we want the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  7. src/runtime/race/testdata/pool_test.go

    // license that can be found in the LICENSE file.
    
    package race_test
    
    import (
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestRacePool(t *testing.T) {
    	// Pool randomly drops the argument on the floor during Put.
    	// Repeat so that at least one iteration gets reuse.
    	for i := 0; i < 10; i++ {
    		c := make(chan int)
    		p := &sync.Pool{New: func() any { return make([]byte, 10) }}
    		x := p.Get().([]byte)
    		x[0] = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 933 bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedLongs.java

        /*
         * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
         * guaranteed to be either exact or one less than the correct value. This follows from fact that
         * floor(floor(x)/i) == floor(x/i) for any real x and integer i != 0. The proof is not quite
         * trivial.
         */
        long quotient = ((dividend >>> 1) / divisor) << 1;
        long rem = dividend - quotient * divisor;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/math/trig_reduce.go

    // is set by y*C being representable as a float64 without error
    // where y is given by y = floor(x * (4 / Pi)) and C is the leading partial
    // terms of 4/Pi. Since the leading terms (PI4A and PI4B in sin.go) have 30
    // and 32 trailing zero bits, y should have less than 30 significant bits.
    //
    //	y < 1<<30  -> floor(x*4/Pi) < 1<<30 -> x < (1<<30 - 1) * Pi/4
    //
    // So, conservatively we can take x < 1<<29.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return new SafeTreeSet<>(delegate.descendingSet());
      }
    
      @Override
      public E first() {
        return delegate.first();
      }
    
      @Override
      public @Nullable E floor(E e) {
        return delegate.floor(checkValid(e));
      }
    
      @Override
      public SortedSet<E> headSet(E toElement) {
        return headSet(toElement, false);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top