/external/python/cpython3/Lib/ |
D | ast.py | 64 def _convert(node): function 72 return tuple(map(_convert, node.elts)) 74 return list(map(_convert, node.elts)) 76 return set(map(_convert, node.elts)) 78 return dict(zip(map(_convert, node.keys), 79 map(_convert, node.values))) 91 return _convert(node_or_string)
|
D | signal.py | 8 _IntEnum._convert( 15 _IntEnum._convert( 20 _IntEnum._convert(
|
D | aifc.py | 310 self._convert = None 439 if self._convert and data: 440 data = self._convert(data) 495 self._convert = self._adpcm2lin 497 self._convert = self._ulaw2lin 499 self._convert = self._alaw2lin 580 self._convert = None 729 if self._convert: 730 data = self._convert(data) 757 self._convert = None [all …]
|
D | statistics.py | 232 def _convert(value, T): function 313 return _convert(total/n, T) 359 return _convert(n/total, T) 589 return _convert(ss/(n-1), T) 637 return _convert(ss/n, T)
|
D | wave.py | 127 self._convert = None 246 if self._convert and data: 247 data = self._convert(data) 316 self._convert = None 429 if self._convert: 430 data = self._convert(data)
|
D | socket.py | 73 IntEnum._convert( 78 IntEnum._convert( 83 IntFlag._convert( 88 IntFlag._convert(
|
D | ssl.py | 122 _IntEnum._convert( 127 _IntFlag._convert( 132 _IntEnum._convert( 137 _IntEnum._convert( 142 _IntFlag._convert( 147 _IntEnum._convert(
|
D | functools.py | 171 _convert = { variable 189 roots = {op for op in _convert if getattr(cls, op, None) is not getattr(object, op, None)} 193 for opname, opfunc in _convert[root]:
|
D | enum.py | 634 def _convert(cls, name, module, filter, source=None): member in Enum
|
/external/tensorflow/tensorflow/lite/testing/model_coverage/ |
D | model_coverage_lib.py | 73 def _convert(converter, **kwargs): function 282 tflite_model_float = _convert(converter, **kwargs) 291 tflite_model_quant = _convert( 342 tflite_model = _convert(converter, **kwargs) 376 tflite_model = _convert(converter, **kwargs) 410 tflite_model = _convert(converter, **kwargs) 437 tflite_model = _convert(converter, **kwargs)
|
/external/python/cpython2/Lib/ |
D | ast.py | 52 def _convert(node): function 58 return tuple(map(_convert, node.elts)) 60 return list(map(_convert, node.elts)) 62 return dict((_convert(k), _convert(v)) for k, v 80 return _convert(node_or_string)
|
D | aifc.py | 296 self._convert = None 434 if self._convert and data: 435 data = self._convert(data) 494 self._convert = self._adpcm2lin 504 self._convert = self._ulaw2lin 517 self._convert = self._decomp_data 595 self._convert = None 735 if self._convert: 736 data = self._convert(data) 766 self._convert = None [all …]
|
D | wave.py | 127 self._convert = None 259 if self._convert and data: 260 data = self._convert(data) 319 self._convert = None 424 if self._convert: 425 data = self._convert(data)
|
/external/tensorflow/tensorflow/python/ops/ |
D | script_ops.py | 67 def _convert(self, value, dtype): member in EagerFunc 112 array_ops.identity(self._convert(x, dtype=dtype)) 119 self._convert(ret, dtype=self._out_dtypes[0])) 150 def _convert(value, dtype=None): member in FuncRegistry 215 return [self._convert(x) for x in ret] 217 return self._convert(ret)
|
D | image_ops_test.py | 4007 def _convert(self, original, original_dtype, output_dtype, expected): member in ConvertImageTest 4038 self._convert([0, 255], dtypes.uint8, dtypes.int16, [0, 255 * 128]) 4039 self._convert([0, 32767], dtypes.int16, dtypes.uint8, [0, 255]) 4040 self._convert([0, 2**32], dtypes.int64, dtypes.int32, [0, 1]) 4041 self._convert([0, 1], dtypes.int32, dtypes.int64, [0, 2**32]) 4047 self._convert([-1.0, 0, 1.0, 200000], dtypes.float32, dtypes.float64, 4049 self._convert([-1.0, 0, 1.0, 200000], dtypes.float64, dtypes.float32, 4056 self._convert([0, 1, 255], dtypes.uint8, dtypes.float32, 4058 self._convert([0, 1.1 / 255.0, 1], dtypes.float32, dtypes.uint8, 4065 self._convert([0, 255 * 256], dtypes.uint16, dtypes.uint8, [0, 255]) [all …]
|
/external/tensorflow/tensorflow/python/client/ |
D | device_lib.py | 34 def _convert(pb_str): function 40 _convert(s)
|
/external/autotest/client/cros/power/ |
D | power_dashboard.py | 260 def _convert(self): member in BaseDashboard 274 raw_measurement = self._convert() 405 def _convert(self): member in MeasurementLoggerDashboard 493 def _convert(self): member in SimplePowerLoggerDashboard 544 def _convert(self): member in CPUStatsLoggerDashboard 545 power_dict = super(CPUStatsLoggerDashboard, self)._convert()
|
/external/python/dateutil/dateutil/parser/ |
D | _parser.py | 301 self._jump = self._convert(self.JUMP) 302 self._weekdays = self._convert(self.WEEKDAYS) 303 self._months = self._convert(self.MONTHS) 304 self._hms = self._convert(self.HMS) 305 self._ampm = self._convert(self.AMPM) 306 self._utczone = self._convert(self.UTCZONE) 307 self._pertain = self._convert(self.PERTAIN) 315 def _convert(self, lst): member in parserinfo
|
/external/python/cpython3/Lib/test/ |
D | test_statistics.py | 938 x = statistics._convert(Fraction(71), int) 941 x = statistics._convert(Fraction(17), MyInt) 946 x = statistics._convert(Fraction(95, 99), Fraction) 951 x = statistics._convert(Fraction(71, 13), MyFraction) 956 x = statistics._convert(Fraction(-1, 2), float) 961 x = statistics._convert(Fraction(9, 8), MyFloat) 966 x = statistics._convert(Fraction(1, 40), Decimal) 971 x = statistics._convert(Fraction(-15, 16), MyDecimal) 977 x = statistics._convert(inf, type(inf)) 982 x = statistics._convert(nan, type(nan))
|
D | test_enum.py | 2971 test_type = enum.IntEnum._convert( 2981 test_type = enum.IntEnum._convert(
|
/external/autotest/server/cros/power/ |
D | power_dashboard.py | 99 def _convert(self): member in PowerTelemetryLoggerDashboard
|
/external/tensorflow/tensorflow/contrib/metrics/python/ops/ |
D | metric_ops.py | 1694 _convert = lambda tensor: math_ops.cast(tensor, out_dtype) function 1696 tp=_convert(tp), 1697 fp=_convert(fp), 1698 tn=_convert(tn), 1699 fn=_convert(fn), 1700 precision=_convert(precision), 1701 recall=_convert(recall), 1702 thresholds=_convert(math_ops.lin_space(0.0, 1.0, num_thresholds)))
|
/external/libcap/contrib/ |
D | pcaps4server | 331 ${j}_convert 353 ${i}_convert
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_utils.py | 1535 def _convert(element): function 1540 return nest.map_structure(_convert, structure)
|
/external/bcc/src/lua/bcc/vendor/ |
D | argparse.lua | 785 local converter = self.element._convert
|