Source code for torch_geometric_signed_directed.nn.directed.MagNet_link_prediction

from typing import Optional

import torch
import torch.nn as nn
import torch.nn.functional as F

from .complex_relu import complex_relu_layer
from .MagNetConv import MagNetConv