Skip to content

feat(core): implement Tensor class (n-dimensional array) #5

@Celz-Pch

Description

@Celz-Pch

Goal

Provide the foundational data structure for all computation.

Tasks

  • Tensor<T> template class supporting float/double
  • Shape, strides, contiguous storage
  • Basic constructors: zeros, ones, from data, random
  • Indexing and slicing
  • Pretty printing for debugging

Acceptance criteria

  • Unit tests cover construction, indexing, and shape manipulation
  • Memory is correctly managed (no leaks under valgrind/asan)

References

  • NumPy ndarray semantics
  • PyTorch ATen Tensor

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