Searched refs:max_value (Results 1 - 25 of 105) sorted by relevance

12345

/external/tensorflow/tensorflow/contrib/data/python/ops/
H A Denumerate_ops.py54 max_value = np.iinfo(dtypes.int64.as_numpy_dtype).max
55 return dataset_ops.Dataset.zip((dataset_ops.Dataset.range(start, max_value),
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
H A Destimator_test_utils.py47 def assert_in_range(min_value, max_value, key, metrics):
51 if actual_value > max_value:
52 raise ValueError('%s: %s > %s.' % (key, actual_value, max_value))
/external/skia/tools/skpbench/
H A D_hardware.py61 def __init__(self, value_type, min_value=None, max_value=None,
65 self.max_value = max_value
76 if self.max_value is not None and typedvalue > self.max_value:
78 (self.name, stringvalue, str(self.max_value)),
H A D_hardware_nexus_6p.py83 Expectation(int, max_value=88, name='tsens_tz_sensor13'),
84 Expectation(int, max_value=88, name='tsens_tz_sensor14'),
86 max_value=(GPU_CLOCK_RATE + 5000), name='gpu clock rate'),
87 Expectation(long, min_value=647995000, max_value=648007500,
H A D_hardware_pixel_c.py72 Expectation(int, max_value=40000, name='skin temperature'),
73 Expectation(int, max_value=86000, name='cpu temperature'),
74 Expectation(int, max_value=87000, name='gpu temperature'),
H A D_hardware_pixel.py97 max_value=(GPU_CLOCK_RATE + 5000),
99 Expectation(long, min_value=902390000, max_value=902409999,
101 Expectation(int, max_value=41000, name='pm8994_tz temperature'),
102 Expectation(int, max_value=40, name='msm_therm temperature')] + \
/external/skqp/tools/skpbench/
H A D_hardware.py61 def __init__(self, value_type, min_value=None, max_value=None,
65 self.max_value = max_value
76 if self.max_value is not None and typedvalue > self.max_value:
78 (self.name, stringvalue, str(self.max_value)),
H A D_hardware_nexus_6p.py89 Expectation(int, max_value=88, name='tsens_tz_sensor13'),
90 Expectation(int, max_value=88, name='tsens_tz_sensor14'),
92 max_value=(GPU_CLOCK_RATE + 5000), name='gpu clock rate'),
93 Expectation(long, min_value=647995000, max_value=648007500,
H A D_hardware_pixel_c.py72 Expectation(int, max_value=40000, name='skin temperature'),
73 Expectation(int, max_value=86000, name='cpu temperature'),
74 Expectation(int, max_value=87000, name='gpu temperature'),
H A D_hardware_pixel.py102 max_value=(GPU_CLOCK_RATE + 5000),
104 Expectation(long, min_value=902390000, max_value=902409999,
106 Expectation(int, max_value=41000, name='pm8994_tz temperature'),
107 Expectation(int, max_value=40, name='msm_therm temperature')] + \
/external/autotest/client/cros/multimedia/
H A Dimage_generator.py67 max_value = 0
74 if v > max_value:
75 max_value = v
76 return (min_value, max_value)
/external/tensorflow/tensorflow/python/keras/_impl/keras/
H A Dconstraints.py63 def __init__(self, max_value=2, axis=0):
64 self.max_value = max_value
69 desired = K.clip(norms, 0, self.max_value)
73 return {'max_value': self.max_value, 'axis': self.axis}
123 max_value: the maximum norm for the incoming weights.
126 `(1 - rate) * norm + rate * norm.clip(min_value, max_value)`.
144 def __init__(self, min_value=0.0, max_value=1.0, rate=1.0, axis=0):
146 self.max_value
[all...]
H A Dactivations.py91 def relu(x, alpha=0., max_value=None):
92 return K.relu(x, alpha=alpha, max_value=max_value)
/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dtest_utils.h40 explicit PseudorandomGenerator(NativeT min_value, NativeT max_value, argument
42 : min_(min_value), max_(max_value), generator_(seed) {}
/external/tensorflow/tensorflow/contrib/quantize/python/
H A Dquant_ops_test.py49 min_value, max_value = self._GetMinMaxValues(sess)
51 self.assertEqual(max_value, 1.0)
70 min_value, max_value = self._GetMinMaxValues(sess)
73 self.assertGreater(max_value, 0.0)
74 self.assertLess(max_value, 1.0)
/external/ImageMagick/coders/
H A Dpnm.c243 max_value;
289 max_value=1;
311 max_value=1; /* bitmap */
313 max_value=(QuantumAny) PNMInteger(image,10,exception);
374 max_value=StringToUnsignedLong(value);
422 if ((max_value == 0) || (max_value > 4294967295))
424 for (depth=1; GetQuantumRange(depth) < max_value; depth++) ;
501 max_value);
543 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value);
239 max_value; local
1573 max_value; local
[all...]
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_enum.cc52 int32 max_value = descriptor->value(0)->number(); local
54 if (descriptor->value(i)->number() > max_value) {
55 max_value = descriptor->value(i)->number();
58 return max_value != ::google::protobuf::kint32max;
91 const EnumValueDescriptor* max_value = descriptor_->value(0); local
110 if (descriptor_->value(i)->number() > max_value->number()) {
111 max_value = descriptor_->value(i);
128 vars["max_name"] = EnumValueName(max_value);
/external/harfbuzz_ng/src/
H A Dhb-ot-map.cc74 info->max_value = value;
181 feature_infos[j].max_value = feature_infos[i].max_value;
185 feature_infos[j].max_value = MAX (feature_infos[j].max_value, feature_infos[i].max_value);
205 if ((info->flags & F_GLOBAL) && info->max_value == 1)
210 bits_needed = MIN(8u, _hb_bit_storage (info->max_value));
212 if (!info->max_value || next_bit + bits_needed > 8 * sizeof (hb_mask_t))
255 if ((info->flags & F_GLOBAL) && info->max_value
[all...]
H A Dhb-ot-var.h60 float max_value; member in struct:hb_ot_var_axis_t
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Dstatistics_calculator.h99 int max_value);
118 int max_value);
134 int max_value);
H A Dstatistics_calculator.cc32 int max_value)
35 max_value_(max_value),
59 int max_value)
60 : PeriodicUmaLogger(uma_name, report_interval_ms, max_value) {
83 int max_value)
84 : PeriodicUmaLogger(uma_name, report_interval_ms, max_value) {
29 PeriodicUmaLogger( const std::string& uma_name, int report_interval_ms, int max_value) argument
56 PeriodicUmaCount( const std::string& uma_name, int report_interval_ms, int max_value) argument
80 PeriodicUmaAverage( const std::string& uma_name, int report_interval_ms, int max_value) argument
/external/libxcam/modules/isp/
H A Disp_config_translator.cpp91 double max_value = 0.0; local
98 if (fabs(from.matrix [i]) > max_value)
99 max_value = fabs(from.matrix [i]);
103 interger_bits = _get_max_bits (max_value);
/external/libxcam/modules/ocl/
H A Dcv_image_process_helper.h40 void apply_constraints (cv::Mat &image, float threshold_min_value = 0.0f, float threshold_max_value = 255.0f, float min_value = 0.0f, float max_value = 255.0f);
/external/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_private.h67 uint64_t max_value; member in struct:hud_pane
100 uint64_t max_value,
/external/libxaac/decoder/
H A Dixheaacd_basic_ops_arr.h216 WORD32 max_value; local
218 max_value = word32_arr[0];
221 max_value = ixheaacd_max32(max_value, word32_arr[i]);
224 return max_value;
244 WORD16 max_value; local
246 max_value = word16_arr[0];
249 max_value = ixheaacd_max16(max_value, word16_arr[i]);
252 return max_value;
[all...]

Completed in 523 milliseconds

12345