torch.UnaryDType
export type UnaryDType = 'float32' | 'int32';Values
'float32''int32'
Supported dtypes for unary operations. Note: complex64 is NOT supported by helpers - it requires explicit registration with proper complex math (not just applying kernel to real/imag separately).