Searched refs:THPUtils_checkString (Results 1 – 14 of 14) sorted by relevance
/external/pytorch/torch/csrc/ |
D | python_dimname.cpp | 61 return obj == Py_None || THPUtils_checkString(obj); in THPUtils_checkDimname() 87 THPUtils_checkString(obj), in THPDimname_parse()
|
D | Module.cpp | 157 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/ |
D | init.cpp | 43 TORCH_CHECK(THPUtils_checkString(arg), "invalid argument to setDevice"); in set_thread_name()
|
/external/pytorch/torch/csrc/utils/ |
D | python_strings.h | 14 inline bool THPUtils_checkString(PyObject* obj) { in THPUtils_checkString() function
|
D | python_arg_parser.cpp | 989 return THPUtils_checkLong(obj) || THPUtils_checkString(obj) || in check() 994 return THPUtils_checkString(obj); in check() 1439 if (!THPUtils_checkString(key)) { in extra_kwargs()
|
D | tensor_new.cpp | 170 !THPUtils_checkString(obj), in infer_scalar_type() 300 !THPUtils_checkString(data), in internal_new_from_data()
|
/external/pytorch/torch/csrc/autograd/functions/ |
D | init.cpp | 29 TORCH_CHECK(THPUtils_checkString(arg1), "argument 'msg' must be a string"); in operator ()()
|
/external/pytorch/torch/csrc/monitor/ |
D | python_init.cpp | 32 } else if (THPUtils_checkString(source)) { in load()
|
/external/pytorch/torch/csrc/jit/python/ |
D | python_arg_flatten.cpp | 65 } else if (THPUtils_checkString(obj)) { in flatten_rec()
|
/external/pytorch/torch/csrc/autograd/ |
D | python_hook.cpp | 347 if (name && THPUtils_checkString(name.get())) { in hook_name()
|
/external/pytorch/torch/csrc/profiler/python/ |
D | init.cpp | 184 THPUtils_checkString(name), in RecordFunctionFast_init() 250 if (THPUtils_checkString(value)) { in RecordFunctionFast_enter()
|
/external/pytorch/torch/csrc/cuda/ |
D | Module.cpp | 1589 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/ |
D | python_variable_methods.cpp | 1061 } else if (THPUtils_checkString(obj)) { in THPVariable_type()
|
/external/pytorch/torch/csrc/jit/passes/onnx/ |
D | shape_type_inference.cpp | 2393 } else if (THPUtils_checkString(output_obj)) { in ONNXAssignOutputShape()
|