Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 533 for precision (0.19 sec)

  1. guava/src/com/google/common/math/DoubleMath.java

        return (long) z;
      }
    
      private static final double MIN_LONG_AS_DOUBLE = -0x1p63;
      /*
       * We cannot store Long.MAX_VALUE as a double without losing precision. Instead, we store
       * Long.MAX_VALUE + 1 == -Long.MIN_VALUE, and then offset all comparisons by 1.
       */
      private static final double MAX_LONG_AS_DOUBLE_PLUS_ONE = 0x1p63;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. tests/integration/pilot/common/traffic.go

    	if got != expected {
    		return fmt.Errorf("got unexpected %v: got %q, wanted %q", help, got, expected)
    	}
    	return nil
    }
    
    func AlmostEquals(a, b, precision int) bool {
    	upper := a + precision
    	lower := a - precision
    	if b < lower || b > upper {
    		return false
    	}
    	return true
    }
    
    type TrafficContext struct {
    	framework.TestContext
    	Apps  deployment.SingleNamespaceView
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 19:10:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op_stablehlo.mlir

        %0 = stablehlo.constant dense<0.000000e+00> : tensor<f32>
        %1 = stablehlo.constant dense<6.000000e+00> : tensor<f32>
        %2 = stablehlo.dot_general %arg0, %arg1, contracting_dims = [1] x [0], precision = [DEFAULT, DEFAULT] : (tensor<?x2xf32>, tensor<2x2xf32>) -> tensor<?x2xf32>
        %3 = shape.shape_of %2 : tensor<?x2xf32> -> tensor<2xindex>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. src/math/erf.go

    //         where
    //              R2(z) = degree 6 poly in z, (z=1/x**2)
    //              S2(z) = degree 7 poly in z
    //
    //      Note1:
    //         To compute exp(-x*x-0.5625+R/S), let s be a single
    //         precision number and s := x; then
    //              -x*x = -s*s + (s-x)*(s+x)
    //              exp(-x*x-0.5626+R/S) =
    //                      exp(-s*s-0.5625)*exp((s-x)*(s+x)+R/S);
    //      Note2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileAttributesTest.java

                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.mlir

        %0 = stablehlo.dot_general %arg0, %arg1, contracting_dims = [1] x [0], precision = [DEFAULT, DEFAULT] : (tensor<1x1024xf32>, tensor<1024x3xf32>) -> tensor<1x3xf32>
        %1 = stablehlo.add %0, %arg2 : tensor<1x3xf32>
        return %0 : tensor<1x3xf32>
      }
    
      // CHECK: @composite_dot_general_with_relu_fn_1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  7. src/math/big/rat.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements multi-precision rational numbers.
    
    package big
    
    import (
    	"fmt"
    	"math"
    )
    
    // A Rat represents a quotient a/b of arbitrary precision.
    // The zero value for a Rat represents the value 0.
    //
    // Operations always take pointer arguments (*Rat) rather
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc

          %0 = stablehlo.dot_general %arg0, %arg1, contracting_dims = [1] x [0], precision = [DEFAULT, DEFAULT] : (tensor<1x1024xf32>, tensor<1024x3xf32>) -> tensor<1x3xf32>
          return %0 : tensor<1x3xf32>
        }
      }
    )mlir";
    
    TEST_F(LiftAsFunctionCallTest, LiftedFunctionSucceeds) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/passes.h

    // Legalize TensorList Ops iff all of them are supported.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTensorListPass();
    
    // Reduce the type precision of some tensor types if all values within that
    // tensor are within the range of the reduced precision.
    std::unique_ptr<OperationPass<ModuleOp>> CreateReduceTypePrecisionPass();
    
    // Convervatively pushes transposes through elementwise ops to prepare
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/StatsAccumulator.java

       *     cause loss of precision)
       */
      public void addAll(Iterable<? extends Number> values) {
        for (Number value : values) {
          add(value.doubleValue());
        }
      }
    
      /**
       * Adds the given values to the dataset.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top