Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for ROUND (0.66 sec)

  1. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

        const float real_value = expressed_value.convertToFloat();
    
        const double scaled = real_value / scale_double_ + zero_point_double_;
        // Round to nearest integer with halfway cases rounded away from zero.
        const double scaled_rounded = std::round(scaled);
        const double clamped = std::min(std::max(scaled_rounded, clamp_min_double_),
                                        clamp_max_double_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/crypto/internal/mlkem768/mlkem768.go

    	// Since the remainder is in the range [0, 2q), not [0, q), we need to
    	// portion it into three spans for rounding.
    	//
    	//     [ 0,       q/2     ) -> round to 0
    	//     [ q/2,     q + q/2 ) -> round to 1
    	//     [ q + q/2, 2q      ) -> round to 2
    	//
    	// We can convert that to the following logic: add 1 if remainder > q/2,
    	// then add 1 again if remainder > q + q/2.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration.go

    	// it accounts for the time it takes to send data to the underlying
    	// storage layer (etcd) and get the complete response back.
    	// If a request involves N (N>=1) round trips to the underlying
    	// stogare layer, the latency will account for the total duration
    	// from these N round trips.
    	// It does not include the time incurred in admission, or validation.
    	StorageTracker DurationTracker
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 22:15:37 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/sha3/keccakf_amd64.s

    #define _mi (17*8)
    #define _mo (18*8)
    #define _mu (19*8)
    #define _sa (20*8)
    #define _se (21*8)
    #define _si (22*8)
    #define _so (23*8)
    #define _su (24*8)
    
    // Temporary registers
    #define rT1  AX
    
    // Round vars
    #define rpState DI
    #define rpStack SP
    
    #define rDa BX
    #define rDe CX
    #define rDi DX
    #define rDo R8
    #define rDu R9
    
    #define rBa R10
    #define rBe R11
    #define rBi R12
    #define rBo R13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. src/crypto/internal/mlkem768/mlkem768_test.go

    	precise := big.NewRat((1<<d)*int64(x), q) // (2ᵈ / q) * x == (2ᵈ * x) / q
    
    	// FloatString rounds halves away from 0, and our result should always be positive,
    	// so it should work as we expect. (There's no direct way to round a Rat.)
    	rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64)
    	if err != nil {
    		panic(err)
    	}
    
    	// If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

        # is unusually small.
        if abs(zero_point) > 9e9:
          zero_point = 9e9
        if abs(scale) < 1e-9:
          scale = 1e-9
    
        zero_point = round(zero_point)
        quantized_hist_mids = np.clip(
            np.round(self._hist_mids / scale) + zero_point, minbound, maxbound
        )
        dequantized_hist_mids = scale * (quantized_hist_mids - zero_point)
        return dequantized_hist_mids
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/encoding/gob/encoder_test.go

    	}
    
    	enc.Encode(et1)
    	newEt1 = new(ET1)
    	err = dec.Decode(newEt1)
    	if err != nil {
    		t.Fatal("round 2: error decoding ET1:", err)
    	}
    	if !reflect.DeepEqual(et1, newEt1) {
    		t.Fatalf("round 2: invalid data for et1: expected %+v; got %+v", *et1, *newEt1)
    	}
    	if b.Len() != 0 {
    		t.Error("round 2: not at eof;", b.Len(), "bytes left")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Round to integer, float64 only.
    	// Special cases:
    	//   ±∞  → ±∞ (sign preserved)
    	//   ±0  → ±0 (sign preserved)
    	//   NaN → NaN
    	{name: "Floor", argLength: 1},       // round arg0 toward -∞
    	{name: "Ceil", argLength: 1},        // round arg0 toward +∞
    	{name: "Trunc", argLength: 1},       // round arg0 toward 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. cmd/prepare-storage.go

    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    		verbose bool
    	)
    
    	// Initialize all storage disks
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/crypto/sha256/sha256block_amd64.s

    #define numBytes	DX	// input, number of input bytes to be processed
    #define sha256Constants	AX	// round contents from K256 table, indexed by round number x 32
    #define msg		X0	// input data
    #define state0		X1	// round intermediates and outputs
    #define state1		X2
    #define m0		X3	// m0, m1,... m4 -- round message temps
    #define m1		X4
    #define m2		X5
    #define m3		X6
    #define m4		X7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top