Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for rmins (0.9 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

        for (const std::string& node_mins_str : node_mins_str) {
          double value;
          if (!absl::SimpleAtod(node_mins_str, &value)) {
            llvm::errs() << "Unexpected mins: " << node_mins_str << "\n";
            return true;
          }
          node_mins.push_back(value);
        }
      }
    
      std::vector<std::optional<double>> node_maxs;
      if (!max_values.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/ZincScalaCompilerOutputNormalizer.groovy

     * */
    class ZincScalaCompilerOutputNormalizer implements OutputNormalizer {
    
        private static final PATTERN = Pattern.compile(
            "(Scala Compiler interface compilation took ([0-9]+ hrs )?([0-9]+ mins )?[0-9.]+ secs\n\n)" +
                "|(\\[Warn] : -target is deprecated: Use -release instead to compile against the correct platform API.\none warning found\n\n)",
            Pattern.MULTILINE
        )
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-profile/src/test/groovy/org/gradle/profile/ProfileReportRendererTest.groovy

    <td class="numeric">30.000s</td>
    <td>Did No Work</td>
    </tr>
    </table>
    </div>
    </div>"""))
        }
    
        private static long time(int hour, int mins, int secs, int ms = 0) {
            def cal = new GregorianCalendar(2010, 1, 5, hour, mins, secs)
            cal.add(Calendar.MILLISECOND, ms)
            cal.getTimeInMillis()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:41:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top