Home
last modified time | relevance | path

Searched refs:maxs (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/llvm/test/MC/VE/
DMAXMIN.s6 # CHECK-INST: maxs.w.sx %s11, %s20, %s22
8 maxs.w.sx %s11, %s20, %s22
10 # CHECK-INST: maxs.w.zx %s11, 22, %s22
12 maxs.w.zx %s11, 22, %s22
22 # CHECK-INST: maxs.l %s11, -64, (22)0
24 maxs.l %s11, -64, (22)0
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc57 static void ExpandVerySmallRange(ArrayRef<double> mins, ArrayRef<double> maxs, in ExpandVerySmallRange() argument
60 for (auto arg : llvm::zip(mins, maxs)) { in ExpandVerySmallRange()
161 auto maxs = max.dyn_cast<DenseFPElementsAttr>(); in GetQuantizedTypeAttr() local
162 if (mins && maxs) { in GetQuantizedTypeAttr()
164 max_value.reserve(maxs.getNumElements()); in GetQuantizedTypeAttr()
168 for (auto it = maxs.begin(), e = maxs.end(); it != e; ++it) { in GetQuantizedTypeAttr()
274 SmallVectorImpl<double>& maxs) { in ExtractMinMaxFromAttr() argument
285 maxs[0] = symmetric ? -single_value : 0.0; in ExtractMinMaxFromAttr()
288 maxs[0] = single_value; in ExtractMinMaxFromAttr()
290 mins[0] = maxs[0] = single_value; in ExtractMinMaxFromAttr()
[all …]
Dquantization_utils.h89 const SmallVectorImpl<double>& maxs, Location loc);
108 SmallVector<double, 4> mins, maxs; in matchAndRewrite() local
126 maxs.push_back(rmax); in matchAndRewrite()
130 maxs, narrow_range, expressed, is_signed); in matchAndRewrite()
132 quant_type = DownCastScale(quant_type, mins, maxs, op->getLoc()); in matchAndRewrite()
591 SmallVectorImpl<double>& maxs);
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dtest_min_max.pass.cpp36 std::string maxs = maxiss.str(); in check_limits() local
38 istringstream maxoss(maxs), minoss(mins); in check_limits()
47 maxs[maxs.size() - 1]++; in check_limits()
48 assert(check_stream_failed<T>(maxs)); in check_limits()
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dtest_min_max.pass.cpp35 std::string maxs = maxiss.str(); in check_limits() local
37 std::istringstream maxoss(maxs), minoss(mins); in check_limits()
46 maxs[maxs.size() - 1]++; in check_limits()
47 assert(check_stream_failed<T>(maxs)); in check_limits()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfreeze_requantization_ranges.cc149 std::vector<float> maxs; in FreezeRequantizationRanges() local
152 maxs.push_back(record.max); in FreezeRequantizationRanges()
155 std::sort(maxs.begin(), maxs.end()); in FreezeRequantizationRanges()
161 std::round(maxs.size() * (1.0f - (max_percentile / 100.0f))); in FreezeRequantizationRanges()
162 if (max_index > (maxs.size() - 1)) { in FreezeRequantizationRanges()
163 max_index = maxs.size() - 1; in FreezeRequantizationRanges()
166 const float max = maxs[max_index]; in FreezeRequantizationRanges()
/external/brotli/research/
Ddraw_histogram.cc137 int maxs = 0; in ConvertToPixels() local
140 if (maxs < histo[i][j]) maxs = histo[i][j]; in ConvertToPixels()
145 double max_histo = static_cast<double>(maxs); in ConvertToPixels()
/external/llvm-project/llvm/test/CodeGen/X86/
Dscalar_sse_minmax.ll31 ; CHECK: maxs
39 ; CHECK: maxs
48 ; CHECK: maxs
/external/llvm/test/CodeGen/X86/
Dscalar_sse_minmax.ll31 ; CHECK: maxs
39 ; CHECK: maxs
48 ; CHECK: maxs
/external/llvm-project/llvm/test/CodeGen/VE/Scalar/
Dmax.ll96 ; CHECK-NEXT: maxs.l %s0, %s0, %s1
106 ; CHECK-NEXT: maxs.l %s0, %s0, %s1
140 ; CHECK-NEXT: maxs.w.sx %s0, %s0, %s1
150 ; CHECK-NEXT: maxs.w.sx %s0, %s0, %s1
/external/llvm-project/mlir/include/mlir/Dialect/StandardOps/IR/
DStandardOpsBase.td22 def ATOMIC_RMW_KIND_MAXS : I64EnumAttrCase<"maxs", 4>;
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_quantize_helper.h301 SmallVector<double, 4> maxs(1, std::numeric_limits<double>::min()); in processConstantOp()
304 /*symmetric=*/true, mins, maxs); in processConstantOp()
305 double scale = maxs[0] / -llvm::minIntN(tensor_property.number_of_bits); in processConstantOp()
/external/scapy/scapy/
Dplist.py378 mins, maxs = minmax(x for x, _ in six.itervalues(sl))
386 n,l = sl[s]; n = 1+float(n-mins)/(maxs-mins)
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c630 struct nvfx_src maxs = nvfx_src(nvfx_fp_imm(fpc, 0, FLT_MIN, 0, 0)); in nvfx_fragprog_parse_instruction() local
633 … nvfx_fp_emit(fpc, arith(0, MOV, tmp.reg, NVFX_FP_MASK_X | NVFX_FP_MASK_Y, maxs, none, none)); in nvfx_fragprog_parse_instruction()
634 maxs = tmp; in nvfx_fragprog_parse_instruction()
636 …X, tmp.reg, NVFX_FP_MASK_Y | NVFX_FP_MASK_W, swz(src[0], X, X, X, Y), swz(maxs, X, X, Y, Y), none)… in nvfx_fragprog_parse_instruction()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc250 auto maxs = tensor.quantization->max; in ConvertMinMaxToStatsOp() local
251 if (mins.size() != maxs.size() || mins.empty()) return nullptr; in ConvertMinMaxToStatsOp()
257 llvm::APFloat max(maxs[i]); in ConvertMinMaxToStatsOp()
Dflatbuffer_export.cc1313 std::vector<float> mins, maxs; in GetQuantizationForQuantStatsOpOutput() local
1324 maxs.push_back(value.convertToFloat()); in GetQuantizationForQuantStatsOpOutput()
1330 builder_.CreateVector<float>(maxs), /*scale=*/0, /*zero_point=*/0, in GetQuantizationForQuantStatsOpOutput()
/external/deqp/framework/common/
DtcuTextureUtil.cpp1348 int maxs = deFloorFloatToInt32(maxc / e + 0.5f); in packRGB999E5() local
1350 if (maxs == (1<<mBits)) in packRGB999E5()
/external/llvm-project/llvm/lib/Target/VE/
DVEInstrInfo.td1212 defm MAXSWSX : RRm<"maxs.w.sx", 0x78, I32, i32>;
1213 let cx = 1 in defm MAXSWZX : RRm<"maxs.w.zx", 0x78, I32, i32>;
1218 defm MAXSL : RRm<"maxs.l", 0x68, I64, i64>;
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp460 case AtomicRMWKind::maxs: in verify()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp3759 case AtomicRMWKind::maxs: in matchSimpleAtomicOp()
/external/llvm-project/mlir/test/Conversion/StandardToLLVM/
Dconvert-to-llvmir.mlir1303 atomic_rmw "maxs" %ival, %I[%i] : (i32, memref<10xi32>) -> i32