Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for rmins (0.04 sec)

  1. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.cc

      for (size_t axis = 0; axis != axisSize; ++axis) {
        double rmin = rmins[axis];
        double rmax = rmaxs[axis];
        if (std::fabs(rmax - rmin) < std::numeric_limits<double>::epsilon()) {
          scales.push_back(1.0);
          zeroPoints.push_back(qmin);
          continue;
        }
    
        double scale;
        int64_t nudgedZeroPoint;
        getNudgedScaleAndZeroPoint(qmin, qmax, rmin, rmax, scale, nudgedZeroPoint);
        scales.push_back(scale);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.h

    /// convertible Type and issues an appropriate error.
    quant::UniformQuantizedPerAxisType fakeQuantAttrsToType(
        Location loc, unsigned numBits, int32_t quantizedDimension,
        ArrayRef<double> rmins, ArrayRef<double> rmax, bool narrowRange,
        Type expressedType, bool isSigned = false);
    }  // namespace quantfork
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

              // supports only symmetric quantization.
              rmax = std::max(std::abs(rmin), std::abs(rmax));
              rmin = -rmax;
            }
            TensorRangeSanityCheck(op, rmin, rmax);
            mins.push_back(rmin);
            maxs.push_back(rmax);
          }
          quant_type = quantfork::fakeQuantAttrsToType(
              op.getLoc(), num_bits, *op.getAxis(), mins, maxs, narrow_range,
              expressed, is_signed);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/numerical_utils.cc

                                           std::optional<double> rmax, int32_t qmin,
                                           int32_t qmax) {
      auto quantize = [scale, zero_point](float f) {
        return zero_point + static_cast<int32_t>(std::round(f / scale));
      };
    
      if (rmin.has_value() && rmax.has_value()) {
        return {std::max(qmin, quantize(rmin.value())),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 17 19:57:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/DaemonHealthStatsTest.groovy

            gcMonitor.getNonHeapStats() >> new GarbageCollectionStats(0, 1024, 2048, 5)
            runningStats.getPrettyUpTime() >> "3 mins"
            runningStats.getAllBuildsTime() >> 1000
    
            then:
            healthStats.healthInfo == "[uptime: 3 mins, performance: 98%, GC rate: 1.00/s, heap usage: 10% of 1 KiB, non-heap usage: 50% of 2 KiB]"
        }
    
        def "handles no garbage collection data"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

      SmallVector<double, 4> min_value, max_value;
      const auto mins = dyn_cast<DenseFPElementsAttr>(min);
      const auto maxs = dyn_cast<DenseFPElementsAttr>(max);
      if (mins && maxs) {
        min_value.reserve(mins.getNumElements());
        max_value.reserve(maxs.getNumElements());
        for (auto it = mins.begin(); it != mins.end(); ++it) {
          min_value.push_back(FloatAttr::getValueAsDouble(*it));
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/DefaultTimerTest.groovy

            then:
            timer.getElapsed() == "32 mins 40.322 secs"
        }
    
        def testHoursMinutesAndSeconds() {
            when:
            setTime(3, 2, 5, 111)
    
            then:
            timer.getElapsed() == "3 hrs 2 mins 5.111 secs"
        }
    
        def testHoursZeroMinutes() {
            when:
            setTime(1, 0, 32, 0)
    
            then:
            timer.getElapsed() == "1 hrs 0 mins 32.0 secs"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. test/codegen/floats.go

    	// arm64:"FMAXD"
    	// riscv64:"FMAX"
    	// ppc64/power9:"XSMAXJDP"
    	// ppc64/power10:"XSMAXJDP"
    	return max(a, b)
    }
    
    func Float32Min(a, b float32) float32 {
    	// amd64:"MINSS"
    	// arm64:"FMINS"
    	// riscv64:"FMINS"
    	// ppc64/power9:"XSMINJDP"
    	// ppc64/power10:"XSMINJDP"
    	return min(a, b)
    }
    
    func Float32Max(a, b float32) float32 {
    	// amd64:"MINSS"
    	// arm64:"FMAXS"
    	// riscv64:"FMAXS"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/numerical_utils.h

    // Calculate the effective quantized value range for the scale, zero point. The
    // range is the minimum range defined by [rmin, rmax] and [qmin, qmax].
    QuantizedRange CalculateQuantizedRange(double scale, int32_t zero_point,
                                           std::optional<double> rmin,
                                           std::optional<double> rmax, int32_t qmin,
                                           int32_t qmax);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/anames.go

    	"RDINSTRETH",
    	"FRCSR",
    	"FSCSR",
    	"FRRM",
    	"FSRM",
    	"FRFLAGS",
    	"FSFLAGS",
    	"FSRMI",
    	"FSFLAGSI",
    	"FLW",
    	"FSW",
    	"FADDS",
    	"FSUBS",
    	"FMULS",
    	"FDIVS",
    	"FMINS",
    	"FMAXS",
    	"FSQRTS",
    	"FMADDS",
    	"FMSUBS",
    	"FNMADDS",
    	"FNMSUBS",
    	"FCVTWS",
    	"FCVTLS",
    	"FCVTSW",
    	"FCVTSL",
    	"FCVTWUS",
    	"FCVTLUS",
    	"FCVTSWU",
    	"FCVTSLU",
    	"FSGNJS",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top