Home
last modified time | relevance | path

Searched refs:input_obj (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconverter.cc138 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/
Dconverter.cc172 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/
Dgl_interop.cc271 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()
Dgl_interop.h158 absl::Status Convert(const TensorObject& input_obj,
/external/python/cpython2/Modules/
Dstropmodule.c952 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/
Dgenerate_report_unittest.py119 def _RunMainWithInput(self, args, input_obj): argument
122 input_buf = _ContextualStringIO(json.dumps(input_obj))
/external/autotest/client/common_lib/
Dutils.py1130 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/
Dbytesobject.c2111 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()
Dstringobject.c2209 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()
Dbytearrayobject.c1468 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/
Dbytesobject.c2026 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()
Dbytearrayobject.c1274 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()