- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for has_bias (0.19 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/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) -
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) -
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)