Skip to content

feat(core): basic tensor operations (add, mul, matmul) #6

@Celz-Pch

Description

@Celz-Pch

Goal

Implement element-wise and linear algebra primitives on Tensor.

Tasks

  • Element-wise: +, -, *, / (with broadcasting, simple cases first)
  • Reductions: sum, mean
  • matmul for 2D tensors (naive triple-loop is fine to start)
  • Operator overloading for clean syntax

Acceptance criteria

  • Each op has a unit test comparing against hand-computed values
  • API feels natural: auto z = x + y; and auto z = matmul(a, b);

Depends on

  • #

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreTensor / autograd / core enginepriority: highImportant to land soontype: featureNew feature or capability

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions