Searched refs:has_torch_function_attr (Results 1 – 1 of 1) sorted by relevance
309 inline bool has_torch_function_attr(PyObject* obj) { in has_torch_function_attr() function322 torch::torch_function_enabled() && has_torch_function_attr(obj)); in check_has_torch_function()