This website works better with JavaScript.
Home
Explore
Sign In
ommi
/
Graph_Transformer
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
train function
master
Yassaman Ommi
5 years ago
parent
80fdf6aef4
commit
16a82324f1
1 changed files
with
5 additions
and
1 deletions
Split View
Show Diff Stats
5
1
GraphTransformer.py
+ 5
- 1
GraphTransformer.py
View File
@@ -210,7 +210,11 @@ class Hydra(nn.Module):
return mlp_output
# train
""""
Train the Model
Prepare data using DataLoader
(data can't be batched)
"""
def build_model(gcn_input, model_dim, head):
model = Hydra(gcn_input, model_dim, head).cuda()
Write
Preview
Loading…
Cancel
Save