IsComplexObjΒΆ
Check for a complex type or an array of complex numbers (scalar result).
Abstract Signature:
IsComplexObj(x)
PyTorch
API:
torch.is_complexStrategy: Macro 'torch.is_complex({x}).all().item()'
Keras
API:
βStrategy: Custom / Partial
Apple MLX
API:
βStrategy: Custom / Partial