Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dbytesobject.c2041 PyObject *input_obj = (PyObject*)self; in bytes_translate_impl() local
2088 inlen = PyBytes_GET_SIZE(input_obj); in bytes_translate_impl()
2096 input = PyBytes_AS_STRING(input_obj); in bytes_translate_impl()
2105 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl()
2106 Py_INCREF(input_obj); in bytes_translate_impl()
2108 result = input_obj; in bytes_translate_impl()
2135 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl()
2137 Py_INCREF(input_obj); in bytes_translate_impl()
2138 return input_obj; in bytes_translate_impl()
Dbytearrayobject.c1264 PyObject *input_obj = (PyObject*)self; in bytearray_translate_impl() local
1298 inlen = PyByteArray_GET_SIZE(input_obj); in bytearray_translate_impl()
1303 input = PyByteArray_AS_STRING(input_obj); in bytearray_translate_impl()
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py6689 def __init__(self, input_obj): argument
6691 self.input_obj = input_obj
6694 if isinstance(self.input_obj, dict):
6695 json_str = json.dumps(self.input_obj)
6697 return cde.Dataset.from_json_file(self.input_obj)