woshixuhao
commited on
Commit
·
a68363c
1
Parent(s):
364ae44
Update app.py
Browse files
app.py
CHANGED
@@ -986,7 +986,7 @@ class BondFloatRBF(torch.nn.Module):
|
|
986 |
centers, gamma = self.rbf_params[name]
|
987 |
rbf = RBF(centers.to(device), gamma.to(device))
|
988 |
self.rbf_list.append(rbf)
|
989 |
-
linear = torch.nn.Linear(len(centers), embed_dim).
|
990 |
self.linear_list.append(linear)
|
991 |
|
992 |
def forward(self, bond_float_features):
|
|
|
986 |
centers, gamma = self.rbf_params[name]
|
987 |
rbf = RBF(centers.to(device), gamma.to(device))
|
988 |
self.rbf_list.append(rbf)
|
989 |
+
linear = torch.nn.Linear(len(centers), embed_dim).to(device)
|
990 |
self.linear_list.append(linear)
|
991 |
|
992 |
def forward(self, bond_float_features):
|