Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for rceil (0.04 sec)

  1. src/mdo/reader-stax.vm

            entities.put("oplus", "\u2295");
            entities.put("otimes", "\u2297");
            entities.put("perp", "\u22a5");
            entities.put("sdot", "\u22c5");
            entities.put("lceil", "\u2308");
            entities.put("rceil", "\u2309");
            entities.put("lfloor", "\u230a");
            entities.put("rfloor", "\u230b");
            entities.put("lang", "\u2329");
            entities.put("rang", "\u232a");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  2. src/encoding/xml/xml.go

    	"nsub":     "\u2284",
    	"sube":     "\u2286",
    	"supe":     "\u2287",
    	"oplus":    "\u2295",
    	"otimes":   "\u2297",
    	"perp":     "\u22A5",
    	"sdot":     "\u22C5",
    	"lceil":    "\u2308",
    	"rceil":    "\u2309",
    	"lfloor":   "\u230A",
    	"rfloor":   "\u230B",
    	"lang":     "\u2329",
    	"rang":     "\u232A",
    	"loz":      "\u25CA",
    	"spades":   "\u2660",
    	"clubs":    "\u2663",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    	case "url", "lowerAscii", "upperAscii", "substring", "trim":
    		if len(args) >= 1 {
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "replace", "split":
    		if len(args) >= 1 {
    			// cost is the traversal plus the construction of the result
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * 2 * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "join":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc

      int sh;  // Stride on "height" dimension.
      int sw;  // Stride on "width" dimension.
    
      bool ceil_mode;  // Rounding strategy (ceil or floor).
    };
    
    // Rounds the dimension based on the ceil mode.
    int RoundDim(float dim, bool ceil_mode) {
      if (ceil_mode) {
        return std::ceil(dim);
      }
      return std::floor(dim);
    }
    
    // For H or W, calculate the output dimension for average pool.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

                        (IsBoolCompositeAttribute<"count_include_pad", "true"> $attrs)]>;
    
    // Replaces aten.avg_pool2d with ceil mode with (T -> tfl.pad -> tfl.average_pool_2d -> mul -> T). Multiplies by a constant
    // which corrects the overcounting of divisors that would occur if doing this computation on a padded tensor with ceil mode off.
    def LegalizeAvgPoolCeilModeTrue: Pat<
                        (MHLO_CompositeOp:$old_val
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.h

    StringAttr GetAvgPoolOpPadAttr(Builder& builder, mhlo::CompositeOp op);
    
    // Get dense attr for a matrix that corrects the over counting of divisors when
    // casting an average pool with ceil mode on in terms of average pool with it
    // off.
    DenseFPElementsAttr GetCorrectionMatrix(Builder& builder, mhlo::CompositeOp op);
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters.h

    inline float CalculateBinWidth(const float min_value, const float max_value,
                                   const int32_t num_bins) {
      const float raw_bin_width = (max_value - min_value) / num_bins;
      return std::pow(2, std::ceil(std::log2(raw_bin_width)));
    }
    
    // Calculates the lower bound of the histogram. The lower bound is in form of
    // `N * bin_width`.
    inline float CalculateLowerBound(const float min_value, const float 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)
  8. src/crypto/internal/mlkem768/mlkem768_test.go

    			}
    			got := decompress(c, bits)
    			diff := min(a-got, got-a, a-got+q, got-a+q)
    			ceil := q / (1 << bits)
    			if diff > fieldElement(ceil) {
    				t.Fatalf("decompress(compress(%d, %d), %d) = %d (diff %d, max diff %d)",
    					a, bits, bits, got, diff, ceil)
    			}
    		}
    	}
    }
    
    func CompressRat(x fieldElement, d uint8) uint16 {
    	if x >= q {
    		panic("x out of range")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters_test.cc

                                          const float max_value,
                                          const float bin_width) {
      const float lower_bound = CalculateLowerBound(min_value, bin_width);
      return std::ceil((max_value - lower_bound) / bin_width);
    }
    
    TEST(CalibrationParametersTest, CalculateBinWidthSmallerThanOne) {
      float bin_width = CalculateBinWidth(/*min_value=*/0.0, /*max_value=*/25.0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    	}
    	value, isPercent, err := getIntOrPercentValueSafely(intOrPercent)
    	if err != nil {
    		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)
Back to top