Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for numBits (0.11 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      @AndroidIncompatible // OutOfMemoryError
      public void testLargeBloomFilterDoesntOverflow() {
        long numBits = Integer.MAX_VALUE;
        numBits++;
    
        LockFreeBitArray bitArray = new LockFreeBitArray(numBits);
        assertTrue(
            "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(),
            bitArray.bitSize() > 0);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

         */
        long numBits = optimalNumOfBits(expectedInsertions, fpp);
        int numHashFunctions = optimalNumOfHashFunctions(expectedInsertions, numBits);
        try {
          return new BloomFilter<>(new LockFreeBitArray(numBits), numHashFunctions, funnel, strategy);
        } catch (IllegalArgumentException e) {
          throw new IllegalArgumentException("Could not create BloomFilter of " + numBits + " bits", e);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/BloomFilter.java

         */
        long numBits = optimalNumOfBits(expectedInsertions, fpp);
        int numHashFunctions = optimalNumOfHashFunctions(expectedInsertions, numBits);
        try {
          return new BloomFilter<>(new LockFreeBitArray(numBits), numHashFunctions, funnel, strategy);
        } catch (IllegalArgumentException e) {
          throw new IllegalArgumentException("Could not create BloomFilter of " + numBits + " bits", e);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeFakeQuantToDequantizeQuantize : Pat<
      (TF_FakeQuantWithMinMaxArgsOp $inputs, $min, $max, $num_bits, $narrow_range),
      (TFL_DequantizeOp
       (TFL_QuantizeOp $inputs,
                       (ConvertToQuantTypeFromAttrs $inputs, $min, $max,
                        $num_bits, $narrow_range)))>;
    
    def LegalizeFill : Pat<(TF_FillOp $arg, $value), (TFL_FillOp $arg, $value)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

      ^bb0(%arg1: tensor<8xf32>, %arg2: tensor<f32>, %arg3: tensor<f32>):
        %2 = "tf.FakeQuantWithMinMaxVars"(%arg1, %arg2, %arg3) {num_bits = 5, narrow_range = false} : (tensor<8xf32>, tensor<f32>, tensor<f32>) -> tensor<8xf32>
        "tfl.yield"(%2) : (tensor<8xf32>) -> ()
      }) {num_bits = 5, narrow_range = false} :  (tensor<8xf32>, tensor<f32>, tensor<f32>) -> tensor<8xf32>
      func.return %rst : tensor<8xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

      ^bb0(%arg1: tensor<8xf32>, %arg2: tensor<f32>, %arg3: tensor<f32>):
        %2 = "tf.FakeQuantWithMinMaxVars"(%arg1, %arg2, %arg3) {num_bits = 3, narrow_range = false} : (tensor<8xf32>, tensor<f32>, tensor<f32>) -> tensor<8xf32>
        "tfl.yield"(%2) : (tensor<8xf32>) -> ()
      }) {num_bits = 3, narrow_range = false} :  (tensor<8xf32>, tensor<f32>, tensor<f32>) -> tensor<8xf32>
      func.return %rst : tensor<8xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

    struct ConvertStatsToQDQs : public OpRewritePattern<quantfork::StatisticsOp> {
      ConvertStatsToQDQs(int num_bits, bool narrow_range, bool is_signed,
                         bool legacy_float_scale, MLIRContext* context)
          : OpRewritePattern<quantfork::StatisticsOp>(context),
            num_bits(num_bits),
            narrow_range(narrow_range),
            is_signed(is_signed),
            legacy_float_scale(legacy_float_scale) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

      }
    }
    
    // Sets the min / max, scale and zero_points from the fake quant num_bits
    // attribute from QAT.
    QuantizedType ResetMinMaxFromNumBits(const QuantizedType type,
                                         const int num_bits,
                                         const bool narrow_range,
                                         const bool is_signed) {
      if (num_bits >= 8) {
        return type;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

      let summary = [{
        Simulates the effect of uniform quantization with const range.
      }];
    
      let description = [{
        Given a const min, max, num_bits and narrow_range attribute, applies the
        same uniform quantization simulation as is done by the TensorFlow
        fake_quant_with_min_max_args op. See the fakeQuantAttrsToType() utility
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    				s.Label = labels
    			}
    			if len(numLabels) > 0 {
    				s.NumLabel = numLabels
    				for key, units := range numUnits {
    					if len(units) > 0 {
    						numUnits[key] = padStringArray(units, len(numLabels[key]))
    					}
    				}
    				s.NumUnit = numUnits
    			}
    		}
    
    		s.Location = locBuffer[:len(s.locationIDX)]
    		locBuffer = locBuffer[len(s.locationIDX):]
    		for i, lid := range s.locationIDX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top