Searched refs:PY_PRIM_METHOD_CHECK (Results 1 – 2 of 2) sorted by relevance
39 inline const char PY_PRIM_METHOD_CHECK[] = "__check__"; variable
373 if (!py::hasattr(python_obj_, PY_PRIM_METHOD_CHECK)) { in RunCheck()374 MS_LOG(EXCEPTION) << "prim:" << ToString() << " has no attr:" << PY_PRIM_METHOD_CHECK; in RunCheck()376 auto check_func = python_obj_.attr(PY_PRIM_METHOD_CHECK); in RunCheck()