- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for GetScale (0.16 sec)
-
tensorflow/compiler/mlir/lite/quantization/device_target.cc
double scale_product = in_spec.getScale() * w_spec.getScale(); if (fabs(scale_product - b_spec.getScale()) >= 1e-6) return failure(); // input multipliers input_multipliers->append(3, kUnitQuantizedMultiplier); // output multipliers double real_multiplier = scale_product / o_spec.getScale(); output_multipliers->push_back(QuantizeMultiplier(real_multiplier));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc
auto q_type = mlir::dyn_cast_or_null<quant::UniformQuantizedType>( input_type.getElementType()); if (!q_type) return failure(); const float scale = q_type.getScale(); const float zp = q_type.getZeroPoint(); auto input_values = input_dequant.getValue(); // mapValues always takes a function returning APInt, even when the output // is actually float.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/integration/pilot/vm_test.go
} } func scaleDeploymentOrFail(t framework.TestContext, name, namespace string, scale int32) { s, err := t.Clusters().Default().Kube().AppsV1().Deployments(namespace). GetScale(context.TODO(), name, metav1.GetOptions{}) if err != nil { t.Fatal(err) } s.Spec.Replicas = scale _, err = t.Clusters().Default().Kube().AppsV1().Deployments(namespace).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PrettyCalculator.groovy
static String toBytes(Amount<DataAmount> bytes) { return bytes.toUnits(DataAmount.BYTES).value.setScale(3, RoundingMode.HALF_UP).stripTrailingZeros().toString() + " B" } static String toMillis(Amount<Duration> duration) { return duration.toUnits(Duration.MILLI_SECONDS).value.setScale(3, RoundingMode.HALF_UP).stripTrailingZeros().toString() + " ms" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.6K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/FormatSupport.java
} double sign = Math.signum(getDifferencePercentage(baseline, current).doubleValue()); return new BigDecimal(sign * 100.0 * confidenceInDifference(baseline.getTotalTime(), current.getTotalTime())).setScale(2, RoundingMode.HALF_UP); } public static Number getDifferencePercentage(MeasuredOperationList baseline, MeasuredOperationList current) { if (baseline.isEmpty() || current.isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4K bytes - Viewed (0) -
testing/internal-performance-testing/src/templates/root-project/pom.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java
// This isn't quite right, as we may lose precision when converting to a double BigDecimal result = BigDecimal.valueOf(Math.sqrt(sumSquares.divide(BigDecimal.valueOf(size()), RoundingMode.HALF_UP).doubleValue())).setScale(2, RoundingMode.HALF_UP); standardError = Amount.valueOf(result, baseUnits); } public Amount<Q> getAverage() { return average; } public Amount<Q> getMedian() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/NumberUtil.java
BigDecimal roundedBase = BigDecimal.valueOf(1L << (baseExponent * BASE_LOG2)); BigDecimal result = BigDecimal.valueOf(bytes).divide(roundedBase, MC).setScale(FRACTIONAL_DIGIT_COUNT, FLOOR).stripTrailingZeros(); return result.toPlainString() + UNITS.get(baseExponent); } } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/TimeFormatting.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/amount.go
} return positiveScaleInt64(a.value, a.scale-scale) } // AsDec returns an inf.Dec representation of this value. func (a int64Amount) AsDec() *inf.Dec { var base inf.Dec base.SetUnscaled(a.value) base.SetScale(inf.Scale(-a.scale)) return &base } // Cmp returns 0 if a and b are equal, 1 if a is greater than b, or -1 if a is less than b. func (a int64Amount) Cmp(b int64Amount) int { switch {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 13 19:42:28 UTC 2023 - 9.3K bytes - Viewed (0)