Searched refs:THPFunction_Check (Results 1 – 4 of 4) sorted by relevance
158 inline bool THPFunction_Check(PyObject* obj) { in THPFunction_Check() function
59 if (grad_fn && !THPFunction_Check(grad_fn)) { in THPVariable_pynew()
169 if (THPFunction_Check(grad_fn)) { in parseGradientEdge()
1179 bool isTHPFunction = THPFunction_Check(arg); in THPModule_willEngineExecuteNode()