Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for __bits (0.34 sec)

  1. src/crypto/rsa/pss.go

    	mgf1XOR(db, hash, h)
    
    	// 11. Set the leftmost 8 * emLen - emBits bits of the leftmost octet in
    	//     maskedDB to zero.
    
    	db[0] &= 0xff >> (8*emLen - emBits)
    
    	// 12. Let EM = maskedDB || H || 0xbc.
    	em[emLen-1] = 0xbc
    
    	// 13. Output EM.
    	return em, nil
    }
    
    func emsaPSSVerify(mHash, em []byte, emBits, sLen int, hash hash.Hash) error {
    	// See RFC 8017, Section 9.1.2.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_xla.mlir

      %dq_weight = "quantfork.dcast"(%q_weight) : (tensor<2x3x3x2x!quant.uniform<i8:f32, 0.074855112561992565:-1>>) -> tensor<2x3x3x2xf32>
      %q_bias = "quantfork.qcast"(%bias) : (tensor<2xf32>) -> tensor<2x!quant.uniform<i32:f32, 0.044022349891595126>>
      %dq_bias = "quantfork.dcast"(%q_bias) : (tensor<2x!quant.uniform<i32:f32, 0.044022349891595126>>) -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/prepare-quantize-post-training-16bits.mlir

    // RUN: tf-opt %s -tfl-prepare-quantize="quantize-signed=true post-training-quantize=true activation-number-of-bits=16" -cse | FileCheck %s
    
    // CHECK-LABEL: QuantizeUnidirectionalLstmFullPerTensor
    func.func @QuantizeUnidirectionalLstmFullPerTensor(%arg0: tensor<1x2x3xf32>) -> (tensor<1x2x3xf32>) {
      %input = "quantfork.stats"(%arg0) {layerStats = dense<[0.0, 1.0]> : tensor<2xf32>} : (tensor<1x2x3xf32>) -> tensor<1x2x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

          bias_shape: Optional[Sequence[int]] = None,
      ) -> module.Module:
        class EinsumModel(module.Module):
          """Einsum class."""
    
          def __init__(self):
            self._bias = None
            if bias_shape is not None:
              self._bias = array_ops.constant(
                  np.random.uniform(size=bias_shape), dtype=dtypes.float32
              )
    
            self._kernel = np.random.uniform(size=y_shape).astype('f4')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. src/runtime/gc_test.go

    	// n must always be a multiple of 8, since gcBits is
    	// always rounded up 8 bytes.
    	for _, n := range []int{8, 16, 32, 64, 128} {
    		b.Run(fmt.Sprintf("bits=%d", n*8), func(b *testing.B) {
    			// Initialize a new byte slice with pseduo-random data.
    			bits := make([]byte, n)
    			rand.Read(bits)
    
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				runtime.MSpanCountAlloc(s, bits)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/runtime/export_test.go

    		lock(&mheap_.lock)
    		mheap_.spanalloc.free(unsafe.Pointer(s))
    		unlock(&mheap_.lock)
    	})
    }
    
    func MSpanCountAlloc(ms *MSpan, bits []byte) int {
    	s := (*mspan)(ms)
    	s.nelems = uint16(len(bits) * 8)
    	s.gcmarkBits = (*gcBits)(unsafe.Pointer(&bits[0]))
    	result := s.countAlloc()
    	s.gcmarkBits = nil
    	return result
    }
    
    const (
    	TimeHistSubBucketBits = timeHistSubBucketBits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top