- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for MIN_VALUE (0.19 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) -
maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals(Integer.MAX_VALUE, problem.getLineNumber()); // this case is not specified, might also return -1 problem = new DefaultProblem(null, null, null, Integer.MIN_VALUE, -1, null); assertEquals(Integer.MIN_VALUE, problem.getLineNumber()); } @Test void testGetColumnNumber() { DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Apr 15 17:24:20 UTC 2023 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
public void testCheckPositive_maxInt() { MathPreconditions.checkPositive("int", Integer.MAX_VALUE); } public void testCheckPositive_minInt() { try { MathPreconditions.checkPositive("int", Integer.MIN_VALUE); fail(); } catch (IllegalArgumentException expected) { } } public void testCheckPositive_positiveInt() { MathPreconditions.checkPositive("int", 1); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm_test.py
statistics.min_max_statistics.global_min = 1.0 statistics.min_max_statistics.global_max = 5.0 min_value, max_value = calibration_algorithm.get_min_max_value( statistics, calib_opts ) self.assertAllEqual((min_value, max_value), (1.0, 5.0)) def test_average_min_max(self): calib_opts = stablehlo_quant_config_pb2.CalibrationOptions(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 5K 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) -
guava/src/com/google/common/base/Internal.java
* * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair. */ @SuppressWarnings({
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jan 11 14:30:06 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/operations/OperationIdentifierTest.groovy
new OperationIdentifier(-1).getId() == -1 new OperationIdentifier(1).getId() == 1 new OperationIdentifier(Long.MAX_VALUE).getId() == Long.MAX_VALUE new OperationIdentifier(Long.MIN_VALUE).getId() == Long.MIN_VALUE } def "disallows instantiation with a value of 0"() { when: new OperationIdentifier(0) then: thrown(IllegalArgumentException) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.2K bytes - Viewed (0)