- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for 1E (0.03 sec)
-
tensorflow/c/eager/gradient_checker.cc
AbstractTensorHandle* f_outputs[1]; // Numerical Grad Check for (int i = 0; i < num_elems; i++) { // Get relative epsilon value float epsilon = theta_data[i] == 0 ? 1e-4 : std::abs(theta_data[i] * 1e-4); AbstractTensorHandlePtr two_eps; { AbstractTensorHandle* two_eps_raw = nullptr; TF_RETURN_IF_ERROR(TestScalarTensorHandle<float, TF_FLOAT>(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(converter.convert("-1")).isEqualTo((Double) (-1.0)); assertThat(converter.convert("1e6")).isEqualTo((Double) 1e6); assertThat(converter.convert("1e-6")).isEqualTo((Double) 1e-6); } public void testStringConverter_convertError() { assertThrows( NumberFormatException.class, () -> Doubles.stringConverter().convert("notanumber")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
internal/s3select/json/record.go
// Like fmt %g, but the exponent cutoffs are different // and exponents themselves are not padded to two digits. abs := math.Abs(f) fmt := byte('f') if abs != 0 { if abs < 1e-6 || abs >= 1e21 { fmt = 'e' } } dst = strconv.AppendFloat(dst, f, fmt, -1, 64) if fmt == 'e' { // clean up e-09 to e-9 n := len(dst)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker_test.cc
void CompareNumericalAndManualGradients( Model model, AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, int input_index, float* expected_grad, int num_grad, bool use_function, double abs_error = 1e-2) { absl::Status s; AbstractTensorHandlePtr numerical_grad; { AbstractTensorHandle* numerical_grad_raw; s = CalcNumericalGrad(ctx, model, inputs, input_index, use_function,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 6.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FormBodyTest.kt
assertThat(formEncode(27)).isEqualTo("%1B") assertThat(formEncode(28)).isEqualTo("%1C") assertThat(formEncode(29)).isEqualTo("%1D") assertThat(formEncode(30)).isEqualTo("%1E") assertThat(formEncode(31)).isEqualTo("%1F") // Browsers use '+' for space. assertThat(formEncode(32)).isEqualTo("+") assertThat(formEncode(33)).isEqualTo("%21")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LinearTransformationTest.java
import junit.framework.TestCase; /** * Tests for {@link LinearTransformation}. * * @author Pete Gillin */ public class LinearTransformationTest extends TestCase { private static final double ALLOWED_ERROR = 1e-10; public void testMappingAnd_regular() { double x1 = 1.2; double y1 = 3.4; double xDelta = 5.6; double yDelta = 7.8; LinearTransformation transformation =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LinearTransformationTest.java
import junit.framework.TestCase; /** * Tests for {@link LinearTransformation}. * * @author Pete Gillin */ public class LinearTransformationTest extends TestCase { private static final double ALLOWED_ERROR = 1e-10; public void testMappingAnd_regular() { double x1 = 1.2; double y1 = 3.4; double xDelta = 5.6; double yDelta = 7.8; LinearTransformation transformation =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(converter.convert("-1")).isEqualTo((Float) (-1.0f)); assertThat(converter.convert("1e6")).isEqualTo((Float) 1e6f); assertThat(converter.convert("1e-6")).isEqualTo((Float) 1e-6f); } public void testStringConverter_convertError() { assertThrows(NumberFormatException.class, () -> Floats.stringConverter().convert("notanumber")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(converter.convert("-1")).isEqualTo((Double) (-1.0)); assertThat(converter.convert("1e6")).isEqualTo((Double) 1e6); assertThat(converter.convert("1e-6")).isEqualTo((Double) 1e-6); } public void testStringConverter_convertError() { assertThrows( NumberFormatException.class, () -> Doubles.stringConverter().convert("notanumber")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(converter.convert("-1")).isEqualTo((Float) (-1.0f)); assertThat(converter.convert("1e6")).isEqualTo((Float) 1e6f); assertThat(converter.convert("1e-6")).isEqualTo((Float) 1e-6f); } public void testStringConverter_convertError() { assertThrows(NumberFormatException.class, () -> Floats.stringConverter().convert("notanumber")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0)