changed to tensor again
This commit is contained in:
1 parent
a9eea64878
commit
a9bc19a27f
1 file changed
+1
-1
@@ -6,7 +6,7 @@ import torch
|
||||
from typing import Any, Literal
|
||||
@dataclass(frozen=True)
|
||||
class Embedding:
|
||||
data: Tensor[torch.Tensor | np.ndarray[Any, Any], Literal["int32", "int64"]]
|
||||
data: Tensor[torch.Tensor | np.ndarray[Any, Any],tuple, Literal["int32", "int64"]]
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user