- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for has_bias (0.81 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
'has_bias': True, }, ) def test_conv2d_ptq_model_whole_model_verify(self, activation_fn, has_bias): input_shape = [None, None, None, 3] filter_shape = [2, 3, 3, 2] model = self._create_conv2d_model( input_shape, filter_shape, activation_fn=activation_fn, has_bias=has_bias, )
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/python/testing_test.py
[3, None], ], 'has_bias': [True, False], }] combinations = testing.parameter_combinations(test_parameters) self.assertLen(combinations, 4) self.assertIn({'shapes': [3, 3], 'has_bias': True}, combinations) self.assertIn({'shapes': [3, 3], 'has_bias': False}, combinations) self.assertIn({'shapes': [3, None], 'has_bias': True}, combinations)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
# If bias_size is not explictly given, it should default to width of weight. if bias_size is None and has_bias: bias_size = weight_shape[-1] # Verify that when bias_size is not None, has_bias should be True. # And if bias_size is None, has_bias should be False using XNOR assert not ((bias_size is not None) ^ has_bias) # Verify that bias size is correct if bias_size:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// Bias tensor is optional. const bool has_bias = !(!getBias() || getBias().getType().isa<NoneType>()); // Get the tensors. DenseElementsAttr input_tensor, weights_tensor, bias_tensor; if (!matchPattern(getInput(), m_Constant(&input_tensor)) || !matchPattern(getFilter(), m_Constant(&weights_tensor)) || (has_bias && !matchPattern(getBias(), m_Constant(&bias_tensor)))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
*/ static void checkAvalanche(HashFunction function, int trials, double epsilon) { Random rand = new Random(0); int keyBits = 32; int hashBits = function.bits(); for (int i = 0; i < keyBits; i++) { int[] same = new int[hashBits]; int[] diff = new int[hashBits]; // go through trials to compute probability for (int j = 0; j < trials; j++) { int key1 = rand.nextInt();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 25.3K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java
} int hashBits = prototype.getDigestLength() * 8; try { Object ignored = prototype.clone(); return new CloningMessageDigestHashFunction(prototype, hashBits); } catch (CloneNotSupportedException e) { return new RegularMessageDigestHashFunction(algorithm, hashBits); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:30 UTC 2024 - 12.3K bytes - Viewed (0) -
fastapi/utils.py
f, cloned_types=cloned_types ) new_field = create_response_field(name=field.name, type_=use_type) new_field.has_alias = field.has_alias # type: ignore[attr-defined] new_field.alias = field.alias # type: ignore[misc] new_field.class_validators = field.class_validators # type: ignore[attr-defined]
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.8K bytes - Viewed (0) -
src/compress/flate/deflate.go
// stop things from getting too large. maxFlateBlockTokens = 1 << 14 maxStoreBlockSize = 65535 hashBits = 17 // After 17 performance degrades hashSize = 1 << hashBits hashMask = (1 << hashBits) - 1 maxHashOffset = 1 << 24 skipNever = math.MaxInt32 ) type compressionLevel struct { level, good, lazy, nice, chain, fastSkipHashing int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 20.3K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/es/stopwords.txt
ha hemos habéis han haya hayas hayamos hayáis hayan habré habrás habrá habremos habréis habrán habría habrías habríamos habríais habrían había habías habíamos habíais habían hube hubiste hubo hubimos hubisteis hubieron hubiera hubieras hubiéramos hubierais hubieran hubiese hubieses hubiésemos hubieseis
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Nov 27 12:59:36 UTC 2023 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
bool needs_adjustment = false; for (int i = 0; i < bias_quantized_type.getScales().size(); ++i) { const float abs_bias = std::abs(bias_values.getValues<float>()[i]); if (abs_bias / new_bias_scales[i] > kBiasMax) { new_bias_scales[i] = static_cast<double>(abs_bias) / kBiasMax; new_filter_scales[i] = new_bias_scales[i] / input_scale; needs_adjustment = true; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0)