Skip to content

Complex number support ? #32

Open
Open
@AldoLamarre

Description

@AldoLamarre

Current complex numbers kernel appears to be run on the CPU when in eager execution and fails when run in non eager mode on GPU devices.

tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot assign a device for operation Complex_1: Could not >satisfy explicit device specification '/device:DML:2' because no supported kernel for DML devices is available.
Colocation Debug Info:
Colocation group had the following types and supported devices:
Root Member(assigned_device_name_index_=-1 requested_device_name_='/device:DML:2' assigned_device_name_='' >resource_device_name_='' supported_device_types_=[CPU] possible_devices_=[]
Complex: CPU

Colocation members, user-requested devices, and framework assigned devices, if any:
Complex_1 (Complex) /device:DML:2

Op: Complex
Node attrs: Tout=DT_COMPLEX64, T=DT_FLOAT
Registered kernels:
device='CPU'; T in [DT_FLOAT]; Tout in [DT_COMPLEX64]
device='CPU'; T in [DT_DOUBLE]; Tout in [DT_COMPLEX128]

Is gpu complex number support expected like in mainline TensorFlow ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions