Skip to content

example can not run successfully #107681

@jayggh

Description

@jayggh

📚 The doc issue

https://pytorch.org/docs/main/generated/torch.slice_scatter.html#torch-slice-scatter In this page, the example can not run successfully. The error is "RuntimeError: expected src to have a size equal to the slice of self. src size = [8], slice size = [2, 8]"

Suggest a potential alternative/fix

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionablemodule: advanced indexingRelated to x[i] = y, index functionstriagedThis 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