Open kuangllbnu opened 2 years ago
Hello @kuangllbnu , In fact the problem comes from the use of the tensordot operation with complex dtype. Currently our tensordot operation works only for real valued tensors, complex valued tensors are treated as real tensors with twice the dimensions, and the tensordot operation that would be performed if the parameters were compatible would not be a complex tensordot. Operations that are specifically implemented for complex dtype are listed here under "Operations involving complex numbers". So this is definitely an issue, we need to modify PyKeOps so that it clearly forbids the use of operations such as tensordot for complex valued tensors, or implement the complex valued counterpart.
I write a demo following the example but inplacing the dtype with complex64.
But failed with errors as follows
Does the Complex64 data type not supported ? Thanks