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

Conversation

@MikeInnes
Copy link
Collaborator

Consistent with the behaviour of the GPU stack, and others.

src/xrt.jl Outdated
end
end

Base.collect(xs::XRTArray) = xs.storage.localstorage
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be convert(Array, xs) to make sure to get the data from the remote if not present.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants