Home
last modified time | relevance | path

Searched refs:THPUtils_unpackString (Results 1 – 19 of 19) sorted by relevance

/external/pytorch/torch/csrc/lazy/python/
Dpython_util.cpp26 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()
/external/pytorch/torch/csrc/autograd/
Dpython_anomaly_mode.cpp115 THPUtils_unpackString(msg.get())); in _print_stack()
123 THPUtils_unpackString(msg.get())); in _print_stack()
Dpython_hook.cpp348 return THPUtils_unpackString(name.get()); in hook_name()
/external/pytorch/torch/csrc/multiprocessing/
Dinit.cpp45 auto name = THPUtils_unpackString(arg); in set_thread_name()
/external/pytorch/torch/csrc/
Dpython_dimname.cpp106 const auto name = THPUtils_unpackString(obj); in THPDimname_parse()
DModule.cpp159 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()
/external/pytorch/torch/csrc/jit/python/
Dpython_tracer.cpp34 std::string filename = THPUtils_unpackString(code->co_filename); in _pythonCallstack()
35 std::string funcname = THPUtils_unpackString(code->co_name); in _pythonCallstack()
Dpython_arg_flatten.cpp66 string str = THPUtils_unpackString(obj); in flatten_rec()
Dpython_ir.cpp71 out << THPUtils_unpackString(str.get()); in printPyObject()
80 return out << THPUtils_unpackString(py::str(pyobj).ptr()); in printPyObject()
/external/pytorch/torch/csrc/utils/
Dpython_strings.h21 inline std::string THPUtils_unpackString(PyObject* obj) { in THPUtils_unpackString() function
Dpython_arg_parser.h827 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()
Dinvalid_arguments.cpp383 kwargs.emplace(THPUtils_unpackString(key), value); in format_invalid_args()
Dpython_arg_parser.cpp1448 THPUtils_unpackString(key).c_str()); in extra_kwargs()
1455 THPUtils_unpackString(key).c_str()); in extra_kwargs()
/external/pytorch/torch/csrc/autograd/functions/
Dinit.cpp30 std::string msg = THPUtils_unpackString(arg1); in operator ()()
/external/pytorch/torch/csrc/profiler/python/
Dinit.cpp248 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()
/external/pytorch/torch/csrc/cuda/
DModule.cpp366 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()
/external/pytorch/torch/csrc/monitor/
Dpython_init.cpp33 this->value = THPUtils_unpackString(source); in load()
/external/pytorch/torch/csrc/mps/
DModule.cpp142 const std::string mode = THPUtils_unpackString(mode_string_o); in MPSModule_profilerStartTrace()
/external/pytorch/tools/autograd/templates/
Dpython_variable_methods.cpp1062 type_name = THPUtils_unpackString(obj); in THPVariable_type()