- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 95 for ABS (0.03 sec)
-
src/math/rand/rand_test.go
closeEnough float64 maxError float64 } func nearEqual(a, b, closeEnough, maxError float64) bool { absDiff := math.Abs(a - b) if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero. return true } return absDiff/max(math.Abs(a), math.Abs(b)) < maxError } var testSeeds = []int64{1, 1754801282, 1698661970, 1550503961}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js
sumpos: g.sumpos, sumneg: g.sumneg, self: g.self, }; displayList.push(box); if (direction > 0) { // Leave gap on left hand side to indicate self contribution. x += xscale*Math.abs(g.self); } } y += direction * ROW; // Find child or parent stacks. const next = []; for (const place of g.places) { const stack = stacks.Stacks[place.Stack];
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 18.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
// 16x8 integer quantization is symmetric, this MLIR quantizer // supports only symmetric quantization. rmax = std::max(std::abs(rmin), std::abs(rmax)); rmin = -rmax; } TensorRangeSanityCheck(op, rmin, rmax); mins.push_back(rmin); maxs.push_back(rmax); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
src/crypto/md5/gen.go
b: "b", c: "c", d: "d", Shift1: []int{7, 12, 17, 22}, Shift2: []int{5, 9, 14, 20}, Shift3: []int{4, 11, 16, 23}, Shift4: []int{6, 10, 15, 21}, // table[i] = int((1<<32) * abs(sin(i+1 radians))). Table1: []uint32{ // round 1 0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, 0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501, 0x698098d8,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.7K bytes - Viewed (0) -
src/math/rand/v2/rand_test.go
closeEnough float64 maxError float64 } func nearEqual(a, b, closeEnough, maxError float64) bool { absDiff := math.Abs(a - b) if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero. return true } return absDiff/max(math.Abs(a), math.Abs(b)) < maxError } var testSeeds = []uint64{1, 1754801282, 1698661970, 1550503961}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 17.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
given: file('provider.txt').text = 'provider' file('fis-path.txt').text = 'fis-path' file('fis-file.txt').text = 'fis-file' file('fis-abs.txt').text = 'fis-abs' buildFile ''' providers.fileContents(layout.projectDirectory.file("provider.txt")).with { provider -> println("provider = ${provider.asText.get()}") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0) -
src/time/time_test.go
const unixToZero = -978307200 + 63113904000 // abs returns the absolute time stored in t, as seconds and nanoseconds. func abs(t Time) (sec, nsec int64) { unix := t.Unix() nano := t.Nanosecond() return unix + unixToZero, int64(nano) } // absString returns abs as a decimal string. func absString(t Time) string { sec, nsec := abs(t) if sec < 0 { sec = -sec nsec = -nsec if nsec < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc
if (!cst_op) return false; ElementsAttr value = cst_op.getValue(); if (!value.isSplat()) return false; if (!value.getElementType().isF32()) return false; return std::abs(value.getSplatValue<float>() - val) < kTolerance; } // Determines if the given op is semantically that of the gauss error function. bool MatchERF(Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
bias_quantized_type != nullptr) { double bias_half_range = 0.0f; for (auto bias : bias_values.getValues<APFloat>()) { if (bias_half_range < std::abs(bias.convertToFloat())) { bias_half_range = std::abs(bias.convertToFloat()); } } if (bias_half_range / bias_quantized_type.getScale() < kBiasMax) { return SetOperandParams(op, bias_index, params); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// ----- // CHECK-LABEL: @abs func.func @abs(%arg0: tensor<2xf32>) -> tensor<2xf32> { // CHECK: mhlo.abs %arg0 : tensor<2xf32> %0 = "tf.Abs"(%arg0) : (tensor<2xf32>) -> tensor<2xf32> func.return %0 : tensor<2xf32> } // ----- // CHECK-LABEL: func @abs_dynamic func.func @abs_dynamic(%arg0: tensor<?xf32>) -> tensor<?xf32> { // CHECK: mhlo.abs %arg0 : tensor<?xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0)