8000 there is a little color problem of the example code in sparse docs. · Issue #154779 · pytorch/pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
there is a little color problem of the example code in sparse docs. #154779
Closed
@qqwqqw689

Description

@qqwqqw689

📚 The doc issue

link

i = [[0, 1, 1],
[2, 0, 2]]
v = [3, 4, 5]
s = torch.sparse_coo_tensor(i, v, (2, 3))
s

[2, 0, 2]] in this code has a different color.

May be we should fix pytorch/docs/source
/sparse.rst

Suggest a potential alternative/fix

No response

cc @alexsamardzic @nikitaved @pearu @cpuhrsch @amjames @bhosmer @jcaip @svekars @sekyondaMeta @AlannaBurke

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionablelow priorityWe're unlikely to get around to doing this in the near futuremodule: docsRelated to our documentation, both in docs/ and docblocksmodule: sparseRelated to torch.sparsetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0