| 36 | } |
| 37 | |
| 38 | inline bool PyTensor_Check(PyObject* op) { return PyObject_TypeCheck(op, PyTensorObject_Type); } |
| 39 | |
| 40 | inline bool PyTensor_CheckExact(PyObject* op) { |
| 41 | return op->ob_type == PyTensorObject_Type || op->ob_type == PyParameterObject_Type; |
no outgoing calls
no test coverage detected