- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for MIN_VALUE (0.14 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters_test.cc
namespace { // Calculates the number of bins from the range and bin width. inline int32_t CalculateActualNumBins(const float min_value, const float max_value, const float bin_width) { const float lower_bound = CalculateLowerBound(min_value, bin_width); return std::ceil((max_value - lower_bound) / bin_width); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 05 09:09:34 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h
namespace mlir { namespace TFL { template <class TFFakeQuantOp> struct FetchMinMaxAttrs { using AttrType = FloatAttr; bool operator()(TFFakeQuantOp tf_op, AttrType &min_value, AttrType &max_value) const { min_value = tf_op.getMinAttr(); max_value = tf_op.getMaxAttr(); return true; // Successfully matched and fetched. } }; template <class TFFakeQuantOp>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h
namespace mlir { namespace quant { template <class TFFakeQuantOp> struct FetchMinMaxAttrs { using AttrType = FloatAttr; bool operator()(TFFakeQuantOp tf_op, AttrType &min_value, AttrType &max_value) const { min_value = tf_op.getMinAttr(); max_value = tf_op.getMaxAttr(); return true; // Successfully matched and fetched. } }; template <class TFFakeQuantOp>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters.h
// number of bins might be smaller than the given `num_bins`. inline float CalculateBinWidth(const float min_value, const float max_value, const int32_t num_bins) { const float raw_bin_width = (max_value - min_value) / num_bins; return std::pow(2, std::ceil(std::log2(raw_bin_width))); } // Calculates the lower bound of the histogram. The lower bound is in form of
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
private static final double[] VALUES = { Double.NEGATIVE_INFINITY, -Double.MAX_VALUE, (double) Long.MIN_VALUE, (double) Integer.MIN_VALUE, -Math.PI, -1.0, -Double.MIN_VALUE, -0.0, +0.0, Double.MIN_VALUE, 1.0, Math.PI, (double) Integer.MAX_VALUE, (double) Long.MAX_VALUE, Double.MAX_VALUE, Double.POSITIVE_INFINITY,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy
0x1000 | -1 Integer.MAX_VALUE | -1 Long.MAX_VALUE | -1 Long.MAX_VALUE | -0xc3412 Integer.MAX_VALUE | Integer.MIN_VALUE Long.MAX_VALUE | Long.MIN_VALUE } def "decode fails when small long cannot be fully read"() { given: def bytes = truncate { Encoder encoder -> encoder.writeSmallLong(0xa40745f)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 14.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleSupportedTypesIntegrationTest.groovy
"byte[]" | "[Byte.MIN_VALUE, Byte.MAX_VALUE]" | "[-128, 127]" "short[]" | "[Short.MIN_VALUE, Short.MAX_VALUE]" | "[-32768, 32767]" "int[]" | integerArray() | "[-2147483648, 2147483647]"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 17:40:52 UTC 2024 - 14K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
private static final double[] VALUES = { Double.NEGATIVE_INFINITY, -Double.MAX_VALUE, (double) Long.MIN_VALUE, (double) Integer.MIN_VALUE, -Math.PI, -1.0, -Double.MIN_VALUE, -0.0, +0.0, Double.MIN_VALUE, 1.0, Math.PI, (double) Integer.MAX_VALUE, (double) Long.MAX_VALUE, Double.MAX_VALUE, Double.POSITIVE_INFINITY,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.cc
status = absl::InternalError( "Cannot find min/max values for calibration statistics."); return; } const auto [min_value, max_value] = *min_max_values; mlir::OpBuilder builder(aggregator_op); aggregator_op->setAttr("min", builder.getF32FloatAttr(min_value)); aggregator_op->setAttr("max", builder.getF32FloatAttr(max_value)); }); return status; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 4.6K bytes - Viewed (0)