Skip to content

Docs say sum() and mean() are full-reduction only #5

Open

Description

@Terminay

docs/api-reference/tensor.md lines 77 and 80 describe sum() and mean() as "full reduction, not per-axis".

This is incorrect, both methods accept axis and keepdims parameters and do support per-axis reduction.

Activity

  1. github-actions commented on Jul 30, 2026

    @github-actions
    Contributor

    The issue points out that the documentation for sum() and mean() in docs/api-reference/tensor.md inaccurately describes these methods as "full reduction, not per-axis," while in reality, both methods support per-axis reduction through the axis and keepdims parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions