Skip to content

Commit

Permalink
removed layers
Browse files Browse the repository at this point in the history
  • Loading branch information
fratajcz committed Oct 14, 2024
1 parent 131fac9 commit f136897
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions speos/architectures.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from speos.utils.logger import setup_logger
from speos.utils.config import Config
import speos.utils.nn_utils as nn_utils
import speos.layers as layers


class LINKX(nn.Module):
Expand Down Expand Up @@ -244,20 +243,8 @@ def get_mp_layer(self, i):

if self.gcnconv_parameters["type"] == "rgcn":
mp_layer = pyg_nn.RGCNConv(self.gcnconv_parameters["dim"], self.gcnconv_parameters["dim"], self.num_adjacencies, **kwargs)
if self.gcnconv_parameters["type"] == "rtag":
mp_layer = layers.RTAGConv(self.gcnconv_parameters["dim"], self.gcnconv_parameters["dim"], self.num_adjacencies, **kwargs)
elif self.gcnconv_parameters["type"] == "rgat":
mp_layer = layers.RGATConv(self.gcnconv_parameters["dim"], self.gcnconv_parameters["dim"], self.num_adjacencies, **kwargs)
elif self.gcnconv_parameters["type"] == "rgattag":
mp_layer = layers.RGATTAGConv(self.gcnconv_parameters["dim"], self.gcnconv_parameters["dim"], self.num_adjacencies, **kwargs)
elif self.gcnconv_parameters["type"] == "film":
mp_layer = pyg_nn.FiLMConv(self.gcnconv_parameters["dim"], self.gcnconv_parameters["dim"], self.num_adjacencies, **kwargs)
elif self.gcnconv_parameters["type"] == "filmtag":
mp_layer = layers.FiLMTAGConv(self.gcnconv_parameters["dim"], self.gcnconv_parameters["dim"], self.num_adjacencies, **kwargs)
elif self.gcnconv_parameters["type"] == "mlpfilm":
mp_layer = layers.MLPFiLM(self.gcnconv_parameters["dim"], self.gcnconv_parameters["dim"], self.num_adjacencies, **kwargs)
elif self.gcnconv_parameters["type"] == "filmfilm":
mp_layer = layers.FiLMFiLM(self.gcnconv_parameters["dim"], self.gcnconv_parameters["dim"], self.num_adjacencies, **kwargs)

else:
try:
Expand Down

0 comments on commit f136897

Please sign in to comment.