-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
featureNew feature or requestNew feature or request
Description
I realized that if the _dot
function introduced in #21 is wrapped with real
, then pullback_function
works for complex arrays as well, whenever gradient
supports complex inputs for a given backend. But at least in the scalar case, the real dot product can be computed twice as efficiently as real(_dot(x, y))
.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request