Skip to content

Improving the tensor API documentation #1114

Closed
@diptorupd

Description

@diptorupd

The sphinx html generated from the docstring for tensor functions is a bit weird. The "->" in the description looks awkward and seems like a typo. Is it the intended rendering? E.g.,

broadcast_to() -> usm_ndarray Broadcast an array to a new shape; returns the broadcasted array as a view.

I suggest that the "->" be taken out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationtensor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions