Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

XRTReal #29

Open
MikeInnes opened this issue Dec 14, 2018 · 0 comments
Open

XRTReal #29

MikeInnes opened this issue Dec 14, 2018 · 0 comments

Comments

@MikeInnes
Copy link
Collaborator

Flux also used to use TrackedScalar{T} = TrackedArray{T,0}, but it turns out 0D arrays are not treated consistently like scalars in a lot of places, and it's generally unhelpful for dispatch. Having a separate XRTReal <: Real object would simplify a lot of stuff (e.g. a lot more of Zygote would work for free), so it seems worth considering unless there's a specific reason not too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant