transformers
Fix: use `torch.from_numpy()` to create tensors for np.ndarrays
#33201
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
1
Changes
View On
GitHub
Fix: use `torch.from_numpy()` to create tensors for np.ndarrays
#33201
amyeroberts
merged 1 commit into
huggingface:main
from
shinyano:tensor_fix
use torch.from_numpy for np.ndarrays
bff623c3
qubvel
approved these changes on 2024-09-02
amyeroberts
approved these changes on 2024-09-02
amyeroberts
merged
cff06aac
into main
1 year ago
shinyano
deleted the tensor_fix branch
1 year ago
Login to write a write a comment.
Login via GitHub
Reviewers
amyeroberts
qubvel
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub