Source header: raft/core/device_mdspan.hpp
Constructs a device matrix view from a pointer and shape.
Parameters
Returns
raft::device_matrix_view<ElementType, IndexType, LayoutPolicy>
Source header: raft/core/device_mdspan.hpp
Constructs a device vector view from a pointer and size.
Parameters
Returns
raft::device_vector_view<ElementType, IndexType, LayoutPolicy>
Source header: raft/core/host_mdspan.hpp
Constructs a host matrix view from a pointer and shape.
Parameters
Returns
raft::host_matrix_view<ElementType, IndexType, LayoutPolicy>
Source header: raft/core/host_mdspan.hpp
Constructs a host vector view from a pointer and size.
Parameters
Returns
raft::host_vector_view<ElementType, IndexType, LayoutPolicy>
Source header: raft/core/mdspan.hpp
Converts a mutable mdspan-like view into a const view.
Parameters
Returns
View with const element type