- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 51 for Floor (0.13 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td
// supports float types. tf.round with integer input type will become an // identity op, so we will never face an mhlo.floor with an integer input type. // The pattern matched executes the following computation: // frac = x - floor(x) // to_even = (floor(x) - 2 * floor(0.5 * x)) == 1 // if frac > 0.5 || (frac == 0.5 && to_even) // return floor(x) + 1 // else // return floor(x)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 03 08:58:22 UTC 2024 - 34K bytes - Viewed (0) -
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) -
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) -
android/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) -
cmd/kube-proxy/app/server_linux.go
if config.MaxPerCore != nil && *config.MaxPerCore > 0 { floor := 0 if config.Min != nil { floor = int(*config.Min) } scaled := int(*config.MaxPerCore) * detectNumCPU() if scaled > floor { logger.V(3).Info("GetConntrackMax: using scaled conntrack-max-per-core") return scaled, nil } logger.V(3).Info("GetConntrackMax: using conntrack-min") return floor, nil } return 0, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 18.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux.go
// `memory.high=floor[(requests.memory + memory throttling factor * (limits.memory or node allocatable memory - requests.memory))/pageSize] * pageSize` // where default value of memory throttling factor is set to 0.9 // More info: https://git.k8s.io/enhancements/keps/sig-node/2570-memory-qos memoryHigh := int64(0) if memoryLimit != 0 { memoryHigh = int64(math.Floor( float64(memoryRequest)+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 17.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
import static com.google.common.math.MathTesting.POSITIVE_FINITE_DOUBLE_CANDIDATES; import static java.math.RoundingMode.CEILING; import static java.math.RoundingMode.DOWN; import static java.math.RoundingMode.FLOOR; import static java.math.RoundingMode.HALF_DOWN; import static java.math.RoundingMode.HALF_EVEN; import static java.math.RoundingMode.HALF_UP; import static java.math.RoundingMode.UNNECESSARY;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
// is an integer 199*index/2. If index is odd, that is halfway between floor(199*index/2) and // ceil(199*index/2). if (index % 2 == 0) { int position = IntMath.divide(199 * index, 2, UNNECESSARY); return PSEUDORANDOM_DATASET_SORTED.get(position); } else { int positionFloor = IntMath.divide(199 * index, 2, FLOOR); int positionCeil = IntMath.divide(199 * index, 2, CEILING);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
@CheckForNull private AvlNode<E> floor(Comparator<? super E> comparator, @ParametricNullness E e) { int cmp = comparator.compare(e, getElement()); if (cmp > 0) { return (right == null) ? this : MoreObjects.firstNonNull(right.floor(comparator, e), this); } else if (cmp == 0) { return this; } else { return (left == null) ? null : left.floor(comparator, e); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 34.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
def LowerTruncateDivOpOnIntTensors : Pat< (TF_TruncateDivOp TF_IntTensor:$lhs, $rhs), (TF_DivOp $lhs, $rhs)>; // Note: truncation could also be implemented as sign(x) * floor(abs(x)) or // (-1 & x) || floor(abs(x)), based on performance benchmarks. def LowerTruncateDivOpOnFloatTensors : Pat< (TF_TruncateDivOp TF_FloatTensor:$lhs, $rhs), (TF_SelectV2Op (TF_LessOp (TF_DivOp:$div $lhs, $rhs),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0)