/external/python/cpython3/Doc/c-api/ |
D | sequence.rst | 131 .. c:function:: PyObject* PySequence_Fast(PyObject *o, const char *m) 134 ``PySequence_Fast*`` family of functions. If the object is not a sequence or 138 The ``PySequence_Fast*`` functions are thus named because they assume 149 :c:func:`PySequence_Fast` and that *o* is not ``NULL``. The size can also be 158 :c:func:`PySequence_Fast`, *o* is not ``NULL``, and that *i* is within bounds. 164 by :c:func:`PySequence_Fast` and *o* is not ``NULL``.
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_api_dispatcher_wrapper.cc | 57 PySequence_Fast(defaults.ptr(), "defaults is not a sequence")); in MakePythonAPIDispatcher() 94 tensorflow::Safe_PyObjectPtr seq(PySequence_Fast(args.ptr(), "")); in PYBIND11_MODULE()
|
D | python_api_parameter_converter_wrapper.cc | 33 PyObject* args_fast = PySequence_Fast(arg_list.ptr(), "Expected a list"); in Convert()
|
D | python_api_dispatcher.cc | 280 Safe_PyObjectPtr seq(PySequence_Fast(value, "")); in Check()
|
/external/pytorch/torch/csrc/cuda/ |
D | utils.cpp | 15 THPObjectPtr seq = THPObjectPtr(PySequence_Fast(obj, nullptr)); in THPUtils_PySequence_to_CUDAStreamList()
|
D | python_nccl.cpp | 84 auto seq = THPObjectPtr(PySequence_Fast(obj, "comm is not a sequence")); in unpack_comms() 302 auto seq = THPObjectPtr(PySequence_Fast(obj, "expected a sequence")); in extract_tensors()
|
/external/tensorflow/tensorflow/python/util/ |
D | function_parameter_canonicalizer_binding_for_test.cc | 47 PySequence_Fast(defaults.ptr(), "Expected tuple")); in PYBIND11_MODULE()
|
D | util.cc | 481 : seq_(PySequence_Fast(iterable, "")), in SequenceValueIterator() 980 return PySequence_Fast( in MappingKeys() 1068 Safe_PyObjectPtr seq = make_safe(PySequence_Fast(fields.get(), "")); in IsNamedtuple()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 1390 PySequence_Fast(py_result, "expected a sequence of gradients"); in CallBackwardFunction() 1971 PyObject* seq = PySequence_Fast(list, "expected a sequence"); 2001 PySequence_Fast(tensors, "expected a sequence")); 2136 PySequence_Fast(list, "expected a sequence")); 2247 PyObject* seq = PySequence_Fast(tensors, "expected a sequence"); 2319 PyObject* seq = PySequence_Fast(tensors, "expected a sequence"); 2399 PySequence_Fast(input_tensors, "expected a sequence of tensors")); 2409 tensorflow::Safe_PyObjectPtr indices_fast(PySequence_Fast( 2427 PySequence_Fast(indices_fast_array[accumulator_index], 2493 PySequence_Fast(user_output, "expected a sequence of forward gradients")); [all …]
|
/external/python/cpython3/Objects/stringlib/ |
D | join.h | 25 seq = PySequence_Fast(iterable, "can only join an iterable"); in STRINGLIB()
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 92 fieldlist = PySequence_Fast(fields, "_fields_ must be a sequence"); in MakeFields() 173 anon_names = PySequence_Fast(anon, "_anonymous_ must be a sequence"); in MakeAnonFields()
|
/external/pytorch/torch/csrc/utils/ |
D | disable_torch_function.cpp | 358 PySequence_Fast(arg, "expected a sequence")); in THPModule_has_torch_function()
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session_helper.cc | 217 PySequence_Fast(feed_values, "feed_values must be a sequence"); in RunCallableHelper() 650 dtypes = PySequence_Fast(dtypes, "dtypes must be a sequence"); in TF_CreatePlaceholders()
|
/external/python/cpython3/Include/ |
D | abstract.h | 726 PyAPI_FUNC(PyObject *) PySequence_Fast(PyObject *o, const char* m);
|
/external/python/cpython3/Modules/ |
D | _abc.c | 382 PyObject *it = PySequence_Fast( in compute_abstract_methods()
|
D | _posixsubprocess.c | 1072 fast_args = PySequence_Fast(process_args, "argv must be a tuple"); in subprocess_fork_exec_impl()
|
D | selectmodule.c | 156 fast_seq = PySequence_Fast(seq, "arguments 1-3 must be sequences"); in seq2set() 2316 seq = PySequence_Fast(changelist, "changelist is not iterable"); in select_kqueue_control_impl()
|
D | _elementtree.c | 1216 seq = PySequence_Fast(elements, "'elements' must be an iterable"); in _elementtree_Element_extend_impl() 1917 seq = PySequence_Fast(value, "assignment expects an iterable"); in element_ass_subscr() 4108 if (!(events_seq = PySequence_Fast(events_to_report, in _elementtree_XMLParser__setevents_impl()
|
/external/python/cpython3/Objects/ |
D | structseq.c | 178 arg = PySequence_Fast(arg, "constructor requires a sequence"); in structseq_new_impl()
|
D | listobject.c | 916 v_as_SF = PySequence_Fast(v, "can only assign an iterable"); in list_ass_slice_lock_held() 1295 PyObject *seq = PySequence_Fast(iterable, "argument must be iterable"); in list_extend_lock_held() 3723 seq = PySequence_Fast(value, in list_ass_subscript()
|
/external/pytorch/torch/csrc/profiler/python/ |
D | init.cpp | 231 PySequence_Fast(self->input_values, "input must be a sequence")); in RecordFunctionFast_enter()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_seq_tensor.cc | 253 Safe_PyObjectPtr seq = make_safe(PySequence_Fast(obj, "")); in Helper()
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/python/ |
D | repeated.c | 360 PySequence_Fast(value, "must assign iterable to extended slice"); in PyUpb_RepeatedContainer_SetSubscript()
|
/external/python/cpython3/PC/ |
D | python3dll.c | 542 EXPORT_FUNC(PySequence_Fast)
|
/external/python/cpython3/Doc/data/ |
D | stable_abi.dat | 576 func,PySequence_Fast,3.2,,
|