- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 77 for sqrt1 (0.17 sec)
-
src/math/rand/v2/rand_test.go
res := new(statsResults) var sum, squaresum float64 for _, s := range samples { sum += s squaresum += s * s } res.mean = sum / float64(len(samples)) res.stddev = math.Sqrt(squaresum/float64(len(samples)) - res.mean*res.mean) return res } func checkSampleDistribution(t *testing.T, samples []float64, expected *statsResults) { t.Helper() actual := getStatsResults(samples)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 17.4K bytes - Viewed (0) -
src/runtime/hash_test.go
var c float64 // find c such that Prob(mean-c*stddev < x < mean+c*stddev)^N > .9999 for c = 0.0; math.Pow(math.Erf(c/math.Sqrt(2)), float64(N)) < .9999; c += .1 { } c *= 11.0 // allowed slack: 40% to 60% - we don't need to be perfectly random mean := .5 * REP stddev := .5 * math.Sqrt(REP) low := int(mean - c*stddev) high := int(mean + c*stddev) for i := 0; i < n; i++ { for j := 0; j < hashSize; j++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 17:50:18 UTC 2024 - 18.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs
} table DivOptions { fused_activation_function:ActivationFunctionType; } table TopKV2Options { } enum CombinerType : byte { SUM = 0, MEAN = 1, SQRTN = 2, } table EmbeddingLookupSparseOptions { combiner:CombinerType; } table GatherOptions { axis: int; // Parameters for Gather version 5 or above. batch_dims: int = 0; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 14:28:27 UTC 2024 - 30K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/optimize.mlir
func.return %2 : tensor<1x2xf32> // CHECK-DAG: %[[cst:.*]] = arith.constant dense<{{\[\[}}3.000000e+00, 4.000000e+00]]> : tensor<1x2xf32> // CHECK: %[[SQRT:[0-9].*]] = "tfl.sqrt" // CHECK: %[[RES:[0-9].*]] = tfl.add(%[[SQRT]], %[[cst]]) } // CHECK-LABEL: fuseTileWithBinaryOp1 func.func @fuseTileWithBinaryOp1(%arg0: tensor<1x1xf32>, %arg1: tensor<1x128xf32>) -> tensor<1x128xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 284.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Stats.java
* * @throws IllegalStateException if the dataset is empty */ public double populationStandardDeviation() { return Math.sqrt(populationVariance()); } /** * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 22K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
* * <pre>{@code * public static double sqrt(double value) { * if (value < 0) { * throw new IllegalArgumentException("input is negative: " + value); * } * // calculate square root * } * }</pre> * * <p>to be replaced with the more compact * * <pre>{@code * public static double sqrt(double value) { * checkArgument(value >= 0, "input is negative: %s", value);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 11 11:52:14 UTC 2024 - 52.9K bytes - Viewed (0) -
src/math/big/int.go
z.neg = true // z cannot be zero if x is positive return z } // Sqrt sets z to ⌊√x⌋, the largest integer such that z² ≤ x, and returns z. // It panics if x is negative. func (z *Int) Sqrt(x *Int) *Int { if x.neg { panic("square root of negative number") } z.neg = false z.abs = z.abs.sqrt(x.abs) return z
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 33.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema.fbs
} table DivOptions { fused_activation_function:ActivationFunctionType; } table TopKV2Options { } enum CombinerType : byte { SUM = 0, MEAN = 1, SQRTN = 2, } table EmbeddingLookupSparseOptions { combiner:CombinerType; } table GatherOptions { axis: int; // Parameters for Gather version 5 or above. batch_dims: int = 0; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h
// example tf.Sub operation. template <typename ConcreteType> class CwiseBinary : public TraitBase<ConcreteType, CwiseBinary> {}; // Coefficient-wise unary operation, for example tf.Sqrt operation. template <typename ConcreteType> class CwiseUnary : public TraitBase<ConcreteType, CwiseUnary> {}; namespace detail { inline LogicalResult verifyIsIdempotent(Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* * <pre>{@code * public static double sqrt(double value) { * if (value < 0) { * throw new IllegalArgumentException("input is negative: " + value); * } * // calculate square root * } * }</pre> * * <p>to be replaced with the more compact * * <pre>{@code * public static double sqrt(double value) { * checkArgument(value >= 0, "input is negative: %s", value);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 11 11:52:14 UTC 2024 - 52.9K bytes - Viewed (0)