IntelPython / dpctl

Python SYCL bindings and SYCL-based Python Array API library
https://intelpython.github.io/dpctl/
Apache License 2.0
99 stars 29 forks source link

Tensor docs do not crosslink to other sections in dpctl site #1115

Closed diptorupd closed 1 year ago

diptorupd commented 1 year ago

The documentation should crosslink to other doc sections. E.g., the description of zeros should link the usm_ndarry string to https://intelpython.github.io/dpctl/latest/docfiles/dpctl/usm_ndarray.html#dpctl.tensor.usm_ndarray. Right now it is just italicizing the "usm_ndarray" word.

zeros() Creates usm_ndarray with zero elements.
diptorupd commented 1 year ago

As an example where it is done correctly, please take a look at

asarray() Converts obj to dpctl.tensor.usm_ndarray.