Home
last modified time | relevance | path

Searched refs:rmin (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DRenderScriptGL.java88 private void validateRange(int umin, int upref, int rmin, int rmax) { in validateRange() argument
89 if (umin < rmin || umin > rmax) { in validateRange()
/frameworks/ml/nn/common/operations/internal/reference/
Dreference_ops.h1723 float rmin, float rmax, float* output_data, in FakeQuant() argument
1727 DCHECK_LE(rmin, 0.); in FakeQuant()
1740 if (rmin != rmax) { in FakeQuant()
1742 scale = (rmax - rmin) / (qmax_float - qmin_float); in FakeQuant()
1752 const float zero_point_from_min = qmin_float - rmin / scale; in FakeQuant()
1755 std::abs(qmin_float) + std::abs(rmin / scale); in FakeQuant()
/frameworks/ml/nn/common/operations/internal/optimized/
Doptimized_ops.h2545 float rmin, float rmax, float* output_data,
2551 DCHECK_LE(rmin, 0.);
2564 if (rmin != rmax) {
2566 scale = (rmax - rmin) / (qmax_float - qmin_float);
2576 const float zero_point_from_min = qmin_float - rmin / scale;
2579 std::abs(qmin_float) + std::abs(rmin / scale);