Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Floor (0.04 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. 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)
  4. 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)
  5. android/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)
  6. src/internal/runtime/atomic/atomic_s390x.s

    	// containing v to OR with the entire word atomically.
    	MOVD	$(3<<3), R5
    	RXSBG	$59, $60, $3, R3, R5 // R5 = 24 - ((addr % 4) * 8) = ((addr & 3) << 3) ^ (3 << 3)
    	ANDW	$~3, R3              // R3 = floor(addr, 4) = addr &^ 3
    	SLW	R5, R4               // R4 = uint32(v) << R5
    	LAO	R4, R6, 0(R3)        // R6 = *R3; *R3 |= R4; (atomic)
    	RET
    
    // func And8(addr *uint8, v uint8)
    TEXT ·And8(SB), NOSPLIT, $0-9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    		return 0, fmt.Errorf("invalid value for IntOrString: %v", err)
    	}
    	if isPercent {
    		if roundUp {
    			value = int(math.Ceil(float64(value) * (float64(total)) / 100))
    		} else {
    			value = int(math.Floor(float64(value) * (float64(total)) / 100))
    		}
    	}
    	return value, nil
    }
    
    // GetValueFromIntOrPercent was deprecated in favor of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. src/time/tick.go

    func NewTicker(d Duration) *Ticker {
    	if d <= 0 {
    		panic("non-positive interval for NewTicker")
    	}
    	// Give the channel a 1-element time buffer.
    	// If the client falls behind while reading, we drop ticks
    	// on the floor until the client catches up.
    	c := make(chan Time, 1)
    	t := (*Ticker)(unsafe.Pointer(newTimer(when(d), int64(d), sendTime, c, syncTimer(c))))
    	t.C = c
    	return t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      @CheckForNull
      public E lower(E element) {
        int index = headIndex(element, false) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        int index = headIndex(element, true) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      @CheckForNull
      public E lower(E element) {
        int index = headIndex(element, false) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        int index = headIndex(element, true) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top