3loi commited on
Commit
c2034c3
1 Parent(s): c64bd19

Update pipeline_utils.py

Browse files
Files changed (1) hide show
  1. pipeline_utils.py +0 -12
pipeline_utils.py CHANGED
@@ -1,11 +1,3 @@
1
- """
2
- Common pooling methods
3
-
4
- Authors:
5
- * Leo 2022
6
- * Haibin Wu 2022
7
- """
8
-
9
  import torch
10
  import torch.nn as nn
11
  import torch.nn.functional as F
@@ -13,10 +5,6 @@ from transformers import AutoModel
13
  from transformers.modeling_utils import PreTrainedModel ,PretrainedConfig
14
 
15
 
16
- __all__ = [
17
- "MeanPooling",
18
- "AttentiveStatisticsPooling"
19
- ]
20
 
21
 
22
  class Pooling(nn.Module):
 
 
 
 
 
 
 
 
 
1
  import torch
2
  import torch.nn as nn
3
  import torch.nn.functional as F
 
5
  from transformers.modeling_utils import PreTrainedModel ,PretrainedConfig
6
 
7
 
 
 
 
 
8
 
9
 
10
  class Pooling(nn.Module):