Searched refs:isPyObject (Results 1 – 8 of 8) sorted by relevance
44 result.isPyObject(), "expected the hook result is a PyObject"); in parseHookResult()
109 if (result.isPyObject()) { in parseCppCommHookResult()
73 if (result.isPyObject()) { in extractTensors()
316 if (value.isPyObject()) { in backwardOwnerRRef()
713 } else if (ivalue.isPyObject()) { in toPyObject()
1087 if (value.isPyObject()) { in extractStorages()
839 bool isPyObject() const { in isPyObject() function
139 TORCH_INTERNAL_ASSERT(isPyObject(), "Expected PyObject but got ", tagKind()); in toPyObjectHolder()144 TORCH_INTERNAL_ASSERT(isPyObject(), "Expected PyObject but got ", tagKind()); in toPyObjectHolder()