/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/ |
D | converter.cc | 138 absl::Status Convert(const TensorObject& input_obj, in Convert() argument 144 auto input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 233 absl::Status Convert(const TensorObject& input_obj, in Convert() argument 239 auto input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 282 absl::Status Convert(const TensorObject& input_obj, in Convert() argument 284 auto ssbo_input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 296 GlBuffer input_obj; in Copy() local 297 RETURN_IF_ERROR(WrapSSBO(input, &input_obj)); in Copy() 300 return CopyBuffer(input_obj, output_obj); in Copy() 316 absl::Status Convert(const TensorObject& input_obj, in Convert() argument [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/ |
D | converter.cc | 172 absl::Status Convert(const TensorObject& input_obj, in Convert() argument 175 RETURN_IF_ERROR(GetOpenCLMemory(input_obj, &in_memory)); in Convert() 265 absl::Status Convert(const TensorObject& input_obj, in Convert() argument 274 RETURN_IF_ERROR(GetOpenCLMemory(input_obj, &in_memory)); in Convert() 360 absl::Status Convert(const TensorObject& input_obj, in Convert() argument 362 auto input = absl::get_if<OpenClBuffer>(&input_obj); in Convert() 426 absl::Status Convert(const TensorObject& input_obj, in Convert() argument 428 auto texture_input = absl::get_if<OpenClTexture>(&input_obj); in Convert() 433 auto buffer_input = absl::get_if<OpenClBuffer>(&input_obj); in Convert() 489 absl::Status Convert(const TensorObject& input_obj, in Convert() argument [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | gl_interop.cc | 271 absl::Status GlClBufferCopier::Convert(const TensorObject& input_obj, in Convert() argument 273 if (absl::holds_alternative<OpenGlBuffer>(input_obj)) { in Convert() 274 auto ssbo = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 287 auto cl_mem = absl::get_if<OpenClBuffer>(&input_obj); in Convert()
|
D | gl_interop.h | 158 absl::Status Convert(const TensorObject& input_obj,
|
/external/python/cpython2/Modules/ |
D | stropmodule.c | 952 PyObject *input_obj; in strop_translate() local 959 if (!PyArg_ParseTuple(args, "St#|t#:translate", &input_obj, in strop_translate() 969 inlen = PyString_GET_SIZE(input_obj); in strop_translate() 974 input = PyString_AsString(input_obj); in strop_translate() 986 Py_INCREF(input_obj); in strop_translate() 987 return input_obj; in strop_translate() 1005 Py_INCREF(input_obj); in strop_translate() 1006 return input_obj; in strop_translate()
|
/external/toolchain-utils/crosperf/ |
D | generate_report_unittest.py | 119 def _RunMainWithInput(self, args, input_obj): argument 122 input_buf = _ContextualStringIO(json.dumps(input_obj))
|
/external/autotest/client/common_lib/ |
D | utils.py | 1130 def strip_unicode(input_obj): argument 1131 if type(input_obj) == list: 1132 return [strip_unicode(i) for i in input_obj] 1133 elif type(input_obj) == dict: 1135 for key in input_obj.keys(): 1136 output[str(key)] = strip_unicode(input_obj[key]) 1138 elif type(input_obj) == six.text_type: 1139 return str(input_obj) 1141 return input_obj
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 2111 PyObject *input_obj = (PyObject*)self; in bytes_translate_impl() local 2158 inlen = PyBytes_GET_SIZE(input_obj); in bytes_translate_impl() 2166 input = PyBytes_AS_STRING(input_obj); in bytes_translate_impl() 2175 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl() 2176 Py_INCREF(input_obj); in bytes_translate_impl() 2178 result = input_obj; in bytes_translate_impl() 2205 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl() 2207 Py_INCREF(input_obj); in bytes_translate_impl() 2208 return input_obj; in bytes_translate_impl()
|
D | stringobject.c | 2209 PyObject *input_obj = (PyObject*)self; in string_translate() local 2270 inlen = PyString_GET_SIZE(input_obj); in string_translate() 2275 input = PyString_AS_STRING(input_obj); in string_translate() 2284 if (changed || !PyString_CheckExact(input_obj)) in string_translate() 2287 Py_INCREF(input_obj); in string_translate() 2288 return input_obj; in string_translate() 2309 if (!changed && PyString_CheckExact(input_obj)) { in string_translate() 2311 Py_INCREF(input_obj); in string_translate() 2312 return input_obj; in string_translate()
|
D | bytearrayobject.c | 1468 PyObject *input_obj = (PyObject*)self; in bytearray_translate() local 1507 inlen = PyByteArray_GET_SIZE(input_obj); in bytearray_translate() 1512 input = PyByteArray_AS_STRING(input_obj); in bytearray_translate()
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 2026 PyObject *input_obj = (PyObject*)self; in bytes_translate_impl() local 2073 inlen = PyBytes_GET_SIZE(input_obj); in bytes_translate_impl() 2081 input = PyBytes_AS_STRING(input_obj); in bytes_translate_impl() 2090 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl() 2091 Py_INCREF(input_obj); in bytes_translate_impl() 2093 result = input_obj; in bytes_translate_impl() 2120 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl() 2122 Py_INCREF(input_obj); in bytes_translate_impl() 2123 return input_obj; in bytes_translate_impl()
|
D | bytearrayobject.c | 1274 PyObject *input_obj = (PyObject*)self; in bytearray_translate_impl() local 1308 inlen = PyByteArray_GET_SIZE(input_obj); in bytearray_translate_impl() 1313 input = PyByteArray_AS_STRING(input_obj); in bytearray_translate_impl()
|