Home
last modified time | relevance | path

Searched refs:THPUtils_checkString (Results 1 – 14 of 14) sorted by relevance

/external/pytorch/torch/csrc/
Dpython_dimname.cpp61 return obj == Py_None || THPUtils_checkString(obj); in THPUtils_checkDimname()
87 THPUtils_checkString(obj), in THPDimname_parse()
DModule.cpp157 THPUtils_checkString(module_name.get()), in THPModule_initNames()
203 if (!THPUtils_checkString(shm_manager_path)) { in THPModule_initExtension()
425 if (THPUtils_checkString(doc_obj)) { in THPModule_addDocStr()
626 THPUtils_checkString(arg), in THModule_rename_privateuse1_backend()
667 THPUtils_checkString(arg), in THPModule_setFloat32MatmulPrecision()
/external/pytorch/torch/csrc/multiprocessing/
Dinit.cpp43 TORCH_CHECK(THPUtils_checkString(arg), "invalid argument to setDevice"); in set_thread_name()
/external/pytorch/torch/csrc/utils/
Dpython_strings.h14 inline bool THPUtils_checkString(PyObject* obj) { in THPUtils_checkString() function
Dpython_arg_parser.cpp989 return THPUtils_checkLong(obj) || THPUtils_checkString(obj) || in check()
994 return THPUtils_checkString(obj); in check()
1439 if (!THPUtils_checkString(key)) { in extra_kwargs()
Dtensor_new.cpp170 !THPUtils_checkString(obj), in infer_scalar_type()
300 !THPUtils_checkString(data), in internal_new_from_data()
/external/pytorch/torch/csrc/autograd/functions/
Dinit.cpp29 TORCH_CHECK(THPUtils_checkString(arg1), "argument 'msg' must be a string"); in operator ()()
/external/pytorch/torch/csrc/monitor/
Dpython_init.cpp32 } else if (THPUtils_checkString(source)) { in load()
/external/pytorch/torch/csrc/jit/python/
Dpython_arg_flatten.cpp65 } else if (THPUtils_checkString(obj)) { in flatten_rec()
/external/pytorch/torch/csrc/autograd/
Dpython_hook.cpp347 if (name && THPUtils_checkString(name.get())) { in hook_name()
/external/pytorch/torch/csrc/profiler/python/
Dinit.cpp184 THPUtils_checkString(name), in RecordFunctionFast_init()
250 if (THPUtils_checkString(value)) { in RecordFunctionFast_enter()
/external/pytorch/torch/csrc/cuda/
DModule.cpp1589 THPUtils_checkString(obj_str), in THCPModule_cuda_tunableop_set_filename()
1625 THPUtils_checkString(str), in THCPModule_cuda_tunableop_write_file()
1651 THPUtils_checkString(str), in THCPModule_cuda_tunableop_read_file()
/external/pytorch/tools/autograd/templates/
Dpython_variable_methods.cpp1061 } else if (THPUtils_checkString(obj)) { in THPVariable_type()
/external/pytorch/torch/csrc/jit/passes/onnx/
Dshape_type_inference.cpp2393 } else if (THPUtils_checkString(output_obj)) { in ONNXAssignOutputShape()