Searched refs:THPUtils_unpackString (Results 1 – 19 of 19) sorted by relevance
26 loc.file = THPUtils_unpackString(code->co_filename); in GetPythonFrameTop()27 loc.function = THPUtils_unpackString(code->co_name); in GetPythonFrameTop()43 loc.file = THPUtils_unpackString(code->co_filename); in GetPythonFrames()44 loc.function = THPUtils_unpackString(code->co_name); in GetPythonFrames()
115 THPUtils_unpackString(msg.get())); in _print_stack()123 THPUtils_unpackString(msg.get())); in _print_stack()
348 return THPUtils_unpackString(name.get()); in hook_name()
45 auto name = THPUtils_unpackString(arg); in set_thread_name()
106 const auto name = THPUtils_unpackString(obj); in THPDimname_parse()
159 std::string name = THPUtils_unpackString(module_name.get()); in THPModule_initNames()213 std::string path = THPUtils_unpackString(shm_manager_path); in THPModule_initExtension()426 all_docs.push_back(THPUtils_unpackString(doc_obj)); in THPModule_addDocStr()629 const std::string backend_name = THPUtils_unpackString(arg); in THModule_rename_privateuse1_backend()671 std::string s = THPUtils_unpackString(arg); in THPModule_setFloat32MatmulPrecision()
34 std::string filename = THPUtils_unpackString(code->co_filename); in _pythonCallstack()35 std::string funcname = THPUtils_unpackString(code->co_name); in _pythonCallstack()
66 string str = THPUtils_unpackString(obj); in flatten_rec()
71 out << THPUtils_unpackString(str.get()); in printPyObject()80 return out << THPUtils_unpackString(py::str(pyobj).ptr()); in printPyObject()
21 inline std::string THPUtils_unpackString(PyObject* obj) { in THPUtils_unpackString() function
827 const std::string& device_str = THPUtils_unpackString(obj); in toDevice()924 return THPUtils_unpackString(args[i]); in stringWithDefault()930 return THPUtils_unpackString(args[i]); in stringOptional()
383 kwargs.emplace(THPUtils_unpackString(key), value); in format_invalid_args()
1448 THPUtils_unpackString(key).c_str()); in extra_kwargs()1455 THPUtils_unpackString(key).c_str()); in extra_kwargs()
30 std::string msg = THPUtils_unpackString(arg1); in operator ()()
248 std::string key_str = THPUtils_unpackString(key); in RecordFunctionFast_enter()251 ivalue = at::IValue(THPUtils_unpackString(value)); in RecordFunctionFast_enter()264 self->guard->before(THPUtils_unpackString(self->name), &args, &kwargs); in RecordFunctionFast_enter()
366 const std::string code_string = THPUtils_unpackString(code_string_o); in THCPModule_cudaJiteratorCompileAndLaunchKernel()367 const std::string kernel_name = THPUtils_unpackString(kernel_name_o); in THCPModule_cudaJiteratorCompileAndLaunchKernel()436 THPUtils_unpackString(env)); in THCPModule_cudaCachingAllocator_set_allocator_settings()1592 auto filename = THPUtils_unpackString(obj_str); in THCPModule_cuda_tunableop_set_filename()1628 auto filename = THPUtils_unpackString(str); in THCPModule_cuda_tunableop_write_file()1654 auto filename = THPUtils_unpackString(str); in THCPModule_cuda_tunableop_read_file()
33 this->value = THPUtils_unpackString(source); in load()
142 const std::string mode = THPUtils_unpackString(mode_string_o); in MPSModule_profilerStartTrace()
1062 type_name = THPUtils_unpackString(obj); in THPVariable_type()