| 599 | } |
| 600 | |
| 601 | static PyObject* PyTensorObject_is_cuda(PyObject* self, void* unused) { |
| 602 | return functional::CastToPyObject(PyTensor_Unpack(self)->is_cuda()); |
| 603 | } |
| 604 | |
| 605 | static PyObject* PyTensorObject_grad(PyObject* self, void* unused) { |
| 606 | HANDLE_ERRORS |
nothing calls this directly
no test coverage detected