style: reorder import
Browse files- modeling_schp.py +1 -2
modeling_schp.py
CHANGED
|
@@ -13,11 +13,10 @@ from typing import Optional, Tuple, Union
|
|
| 13 |
import torch
|
| 14 |
import torch.nn as nn
|
| 15 |
import torch.nn.functional as F
|
|
|
|
| 16 |
from transformers import PreTrainedModel
|
| 17 |
from transformers.utils import ModelOutput
|
| 18 |
|
| 19 |
-
from schp.configuration_schp import SCHPConfig
|
| 20 |
-
|
| 21 |
|
| 22 |
# ββ Pure-PyTorch InPlaceABNSync shim ββββββββββββββββββββββββββββββββββββββββββ
|
| 23 |
class InPlaceABNSync(nn.BatchNorm2d):
|
|
|
|
| 13 |
import torch
|
| 14 |
import torch.nn as nn
|
| 15 |
import torch.nn.functional as F
|
| 16 |
+
from schp.configuration_schp import SCHPConfig
|
| 17 |
from transformers import PreTrainedModel
|
| 18 |
from transformers.utils import ModelOutput
|
| 19 |
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# ββ Pure-PyTorch InPlaceABNSync shim ββββββββββββββββββββββββββββββββββββββββββ
|
| 22 |
class InPlaceABNSync(nn.BatchNorm2d):
|