Skip to content

.to_numpy(), .to_cupy(), etc. #55

Closed
@ax3l

Description

@ax3l

For all objects that expose the __array_interface__, we should add a helper member function called .to_numpy() that does nothing but create a view:

np.array(self, copy=False, order='F')
cupy.array(self, copy=False, order='F')

Similar to:

Equivalently, we want to add .to_copy() et al. functions for #30 and later DLPack interfaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend: cudaSpecific to CUDA execution (GPUs)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions