mirror of
https://github.com/deepseek-ai/DeepSeek-Math.git
synced 2025-06-21 00:43:45 -04:00
Add List import to model.py for type hinting
This commit is contained in:
parent
b53e984052
commit
735546a4f9
@ -2,7 +2,7 @@ import torch
|
|||||||
import torch.nn as nn
|
import torch.nn as nn
|
||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
import math
|
import math
|
||||||
from typing import Optional, Tuple
|
from typing import Optional, Tuple, List
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
Loading…
Reference in New Issue
Block a user