Searched defs:minmax (Results 1 - 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
H A Dread_fake_quant_min_max.cc31 const MinMax& minmax, const string& array_name) {
33 if (annotated_array.minmax) {
36 annotated_array.GetOrCreateMinMax() = minmax;
39 minmax.min, minmax.max);
55 if (!fakequant_op->minmax) {
70 fakequant_op->minmax.reset(new MinMax);
71 MinMax& minmax = *fakequant_op->minmax; local
72 minmax
30 ApplyMinMaxToArray(GraphTransformation* transformation, Model* model, const MinMax& minmax, const string& array_name) argument
96 const MinMax& minmax = *fakequant_op->minmax; local
[all...]
H A Dresolve_constant_concatenation.cc111 // If the minmax is already set, use it
112 if (concatenated_array->minmax) return;
118 // If any of the input arrays minmax is not set, return.
119 // TODO(ghodrat): shall we add the logic to compute the minmax?
120 if (!input_array->minmax) return;
125 MinMax& minmax = concatenated_array->GetOrCreateMinMax(); local
126 minmax.min = concat_min;
127 minmax.max = concat_max;
H A Dhardcode_min_max.cc34 if (im2col_array.minmax) {
38 if (!input_array.minmax) {
42 CHECK(!im2col_array.minmax);
51 if (output_array.minmax) {
55 if (!input_array.minmax) {
59 CHECK(!output_array.minmax);
73 if (model->GetArray(input).minmax) {
75 const auto* minmax = model->GetArray(input).minmax.get(); local
76 if (minmax) {
85 const auto* minmax = model->GetArray(op->outputs[0]).minmax.get(); local
228 auto& minmax = input_activations.GetOrCreateMinMax(); local
237 auto& minmax = prev_output_activations.GetOrCreateMinMax(); local
246 auto& minmax = output_concat_temp.GetOrCreateMinMax(); local
255 auto& minmax = output_activations.GetOrCreateMinMax(); local
272 auto& minmax = output_activations_temp.GetOrCreateMinMax(); local
[all...]
H A Dquantize.cc122 if (array.minmax != nullptr) {
123 return *array.minmax;
137 // lacks some minmax information.
157 auto& minmax = array.GetOrCreateMinMax(); local
158 minmax.min = min;
159 minmax.max = max;
160 return minmax;
223 const MinMax& minmax = GetOrComputeMinMax(model, input); local
228 model->flags, minmax, quantization_params);
234 GetQuantizationParamsFromMinMax<ArrayDataType::kUint8>(model->flags, minmax,
341 const MinMax& minmax = GetOrComputeMinMax(model, output); local
[all...]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
H A DLimit.java180 private String message(final String minmax, final BigDecimal v, argument
185 rounded.toPlainString(), minmax, ref.toPlainString());
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/
H A Doperator_test.cc158 auto* minmax = new MinMax; local
159 minmax->min = -10;
160 minmax->max = 200;
161 op.minmax.reset(minmax);
164 EXPECT_EQ(op.minmax->min, output_toco_op->minmax->min);
165 EXPECT_EQ(op.minmax->max, output_toco_op->minmax->max);
H A Dimport.cc80 MinMax& minmax = array.GetOrCreateMinMax(); local
81 minmax.min = quantization->min()->Get(0);
82 minmax.max = quantization->max()->Get(0);
H A Doperator.cc256 fbb->Float("min", op.minmax->min);
257 fbb->Float("max", op.minmax->max);
260 auto* minmax = new MinMax; variable
261 minmax->min = m["min"].AsFloat();
262 minmax->max = m["max"].AsFloat();
263 op->minmax.reset(minmax);
/external/blktrace/
H A Dstats.h28 struct minmax { struct
36 static inline void minmax_init(struct minmax *mm)
45 static inline void minmax_account(struct minmax *mm, __u64 value)
56 static inline void minmax_merge(struct minmax *dst, struct minmax *src)
67 static inline void minmax_to_be(struct minmax *mm)
76 static inline double minmax_avg(struct minmax *mm)
81 static inline double minmax_var(struct minmax *mm)
88 static inline int minmax_print(FILE *fp, const char *s, struct minmax *mm)
/external/clang/test/SemaCXX/
H A Dinvalid-member-expr.cpp29 template <typename _Tp> pair<_Tp, _Tp> minmax(initializer_list<_Tp> __l) {}; function in namespace:test3
32 pair<int, int> z = minmax({});
36 // expected-error@-4 {{no matching function for call to 'minmax'}}
/external/tensorflow/tensorflow/contrib/lite/toco/
H A Dtooling_util.h146 const MinMax& minmax,
153 const double rmin = minmax.min;
154 const double rmax = minmax.max;
145 GetQuantizationParamsFromMinMax(const ModelFlags& model_flags, const MinMax& minmax, QuantizationParams* quantization_params) argument
H A Dimport_tensorflow.cc603 op->minmax.reset(new MinMax);
604 auto& minmax = *op->minmax; local
605 minmax.min = GetFloatAttr(node, "min");
606 minmax.max = GetFloatAttr(node, "max");
H A Dtooling_util.cc431 if (array.minmax) {
432 VLOG(log_level) << " MinMax: " << array.minmax->min << " .. "
433 << array.minmax->max;
1256 if (input_array.minmax) {
1259 CHECK(input_minmax == *input_array.minmax)
1261 << " != " << input_array.minmax->min << ", "
1262 << input_array.minmax->max;
1296 if (input_array.minmax) {
1297 // The array has minmax, we're good.
1302 // fall back to computing the minmax fro
1325 auto& minmax = input_array.GetOrCreateMinMax(); local
1333 auto& minmax = output_array.GetOrCreateMinMax(); local
1845 auto& minmax = model->GetArray(entry.name()).GetOrCreateMinMax(); local
[all...]
H A Dmodel.h720 std::unique_ptr<MinMax> minmax; member in struct:toco::FakeQuantOperator
1500 if (!minmax) {
1501 minmax = std::unique_ptr<MinMax>(new MinMax);
1503 return *minmax;
1506 DCHECK(minmax);
1507 return *minmax;
1598 std::unique_ptr<MinMax> minmax; member in struct:toco::Array
/external/scapy/scapy/
H A Dplist.py369 def minmax(x): function in function:.afterglow
378 mins, maxs = minmax(x for x, _ in six.itervalues(sl))
379 mine, maxe = minmax(x for x, _ in six.itervalues(el))
380 mind, maxd = minmax(six.itervalues(dl))
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_peephole.cpp1747 AlgebraicOpt::handleMINMAX(Instruction *minmax) argument
1749 Value *src0 = minmax->getSrc(0);
1750 Value *src1 = minmax->getSrc(1);
1754 if (minmax->src(0).mod == minmax->src(1).mod) {
1755 if (minmax->def(0).mayReplace(minmax->src(0))) {
1756 minmax->def(0).replace(minmax->src(0), false);
1757 minmax
[all...]
/external/v8/src/asmjs/
H A Dasm-typer.cc255 auto* minmax = AsmType::OverloadedFunction(zone_); local
256 minmax->AsOverloadedFunctionType()->AddOverload(minmax_i);
257 minmax->AsOverloadedFunctionType()->AddOverload(minmax_f);
258 minmax->AsOverloadedFunctionType()->AddOverload(minmax_d);
326 {"min", kMathMin, minmax},
327 {"max", kMathMax, minmax},
/external/v8/src/crankshaft/ia32/
H A Dlithium-ia32.cc1575 LMathMinMax* minmax = new(zone()) LMathMinMax(left, right); local
1576 return DefineSameAsFirst(minmax);
/external/v8/src/crankshaft/x64/
H A Dlithium-x64.cc1581 LMathMinMax* minmax = new(zone()) LMathMinMax(left, right); local
1582 return DefineSameAsFirst(minmax);
/external/v8/src/crankshaft/x87/
H A Dlithium-x87.cc1584 LMathMinMax* minmax = new (zone()) LMathMinMax(left, right, scratch); local
1585 return DefineSameAsFirst(minmax);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encodeframe.c628 // Compute the minmax over the 8x8 subblocks.
1499 // compute the minmax over the 8x8 sub-blocks, and if above threshold,
1501 int minmax = compute_minmax_8x8(s, sp, d, dp, x16_idx, y16_idx, local
1509 if (minmax > thresh_minmax) {

Completed in 1981 milliseconds