Skip to content

Conversation

@youge325
Copy link
Contributor

@youge325 youge325 commented Jan 4, 2026

新增 storage 相关测试
image
image

Copilot AI review requested due to automatic review settings January 4, 2026 09:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds comprehensive test coverage for storage-related APIs in the Tensor class. The tests verify tensor storage functionality including storage access, offsets, and pointer operations.

  • Adds 6 new test cases covering storage, storage_offset, has_storage, storage nbytes, sliced tensor storage offset, and storage data_ptr
  • Tests verify storage sharing behavior between tensors and slices
  • Validates storage metadata and pointer relationships

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant