- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 265 for scaleTo (0.7 sec)
-
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java
Units<Q> candidate = allUnits.get(i); if (base.compareTo(candidate.getFactor()) >= 0) { BigDecimal scaled = units.scaleTo(value, candidate); return formatValue(scaled) + " " + candidate.format(scaled); } } return formatValue(value) + " " + units.format(value); } private static String formatValue(BigDecimal value) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.2K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Units.java
} protected abstract Units<Q> getBaseUnits(); protected abstract List<Units<Q>> getUnitsForQuantity(); protected abstract BigDecimal getFactor(); protected abstract BigDecimal scaleTo(BigDecimal value, Units<Q> units); protected String format(BigDecimal value) { return value.compareTo(BigDecimal.ONE) == 0 ? displaySingular : displayPlural; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h
} bool lossy; expressed_value.convert(scale_.getSemantics(), round_mode_, &lossy); // fixed_point = clamp(clamp_min, clamp_max, ( // roundHalfToEven(expressed / scale) + zero_point)) APFloat scaled = (expressed_value / scale_); scaled.roundToIntegral(round_mode_); scaled.add(zero_point_, round_mode_); APFloat fixed_point = llvm::minimum(scaled, clamp_max_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 9.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
} } return false } // Scale a measurement from a unit to a different unit and returns // the scaled value and the target unit. The returned target unit // will be empty if uninteresting (could be skipped). func Scale(value int64, fromUnit, toUnit string) (float64, string) { // Avoid infinite recursion on overflow. if value < 0 && -value > 0 { v, u := Scale(-value, fromUnit, toUnit) return -v, u }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta2.Scale.yaml
apiVersion: apps/v1beta2 kind: Scale metadata: annotations: annotationsKey: annotationsValue creationTimestamp: "2008-01-01T01:01:01Z" deletionGracePeriodSeconds: 10 deletionTimestamp: "2009-01-01T01:01:01Z" finalizers: - finalizersValue generateName: generateNameValue generation: 7 labels: labelsKey: labelsValue managedFields: - apiVersion: apiVersionValue fieldsType: fieldsTypeValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 972 bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/extensions.v1beta1.Scale.yaml
apiVersion: extensions/v1beta1 kind: Scale metadata: annotations: annotationsKey: annotationsValue creationTimestamp: "2008-01-01T01:01:01Z" deletionGracePeriodSeconds: 10 deletionTimestamp: "2009-01-01T01:01:01Z" finalizers: - finalizersValue generateName: generateNameValue generation: 7 labels: labelsKey: labelsValue managedFields: - apiVersion: apiVersionValue fieldsType: fieldsTypeValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 978 bytes - Viewed (0) -
common-protos/k8s.io/api/autoscaling/v2/generated.proto
// +optional repeated MetricSpec metrics = 4; // behavior configures the scaling behavior of the target // in both Up and Down directions (scaleUp and scaleDown fields respectively). // If not set, the default HPAScalingRules for scale up and scale down are used. // +optional optional HorizontalPodAutoscalerBehavior behavior = 5; }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
// Zero scales we make the minimum fp value, this is because some flatbuffers // contain zero scale for zero values. llvm::SmallVector<double> scales; for (float scale : quant_params.scale) { if (scale == 0) { scales.push_back(std::numeric_limits<float>::min()); continue; } scales.push_back(scale); } // Scale size can't be zero as it is checked before.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation_test.go
for _, successCase := range successCases { if errs := ValidateScale(&successCase); len(errs) != 0 { t.Errorf("expected success: %v", errs) } } errorCases := []struct { scale autoscaling.Scale msg string }{{ scale: autoscaling.Scale{ ObjectMeta: metav1.ObjectMeta{ Name: "frontend", Namespace: metav1.NamespaceDefault, }, Spec: autoscaling.ScaleSpec{ Replicas: -1, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 56.7K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1beta1/generated.proto
// status defines current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only. // +optional optional ScaleStatus status = 3; } // ScaleSpec describes the attributes of a scale subresource message ScaleSpec { // replicas is the number of observed instances of the scaled object. // +optional optional int32 replicas = 1;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 24.1K bytes - Viewed (0)