Skip to content

1-element scalar/tensor reshape edge case bug fix#796

Open
jessicaliu06 wants to merge 4 commits intomainfrom
jtl/scalar-reshape-fix-732
Open

1-element scalar/tensor reshape edge case bug fix#796
jessicaliu06 wants to merge 4 commits intomainfrom
jtl/scalar-reshape-fix-732

Conversation

@jessicaliu06
Copy link
Collaborator

@jessicaliu06 jessicaliu06 commented Feb 22, 2026

Fixes #743

Mostly just adding code to handle the edge case of 0-dimensional scalars and 1-element tensors

@jessicaliu06 jessicaliu06 self-assigned this Feb 22, 2026
@codecov
Copy link

codecov bot commented Feb 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/interface/eager.jl 74.35% <100.00%> (+2.02%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jessicaliu06 jessicaliu06 changed the title Bug fix, passes script reshape bug fix Feb 23, 2026
@jessicaliu06 jessicaliu06 changed the title reshape bug fix Scalar reshape edge case bug fix Feb 23, 2026
@jessicaliu06 jessicaliu06 changed the title Scalar reshape edge case bug fix 1-element scalar/tensor reshape edge case bug fix Feb 23, 2026
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.

reshape fails when expanding/reducing dims for one-element scalars/tensors

1 participant