EMRY-030: Tensor coerce #21

Closed
opened 2026-06-24 00:21:06 +00:00 by vxfemboy · 0 comments
vxfemboy commented 2026-06-24 00:21:06 +00:00 (Migrated from github.com)

coerce.py

Handle: float, int, torch.Tensor .item(), numpy scalars.

Acceptance

  • pytest with optional torch extra
  • No torch import at module level

Depends on:
Estimate: 3h

## coerce.py Handle: float, int, torch.Tensor `.item()`, numpy scalars. ### Acceptance - [ ] pytest with optional torch extra - [ ] No torch import at module level **Depends on:** — **Estimate:** 3h
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
femboy/emry#21
No description provided.