Replies: 1 comment
-
Please see my answer here: #4084 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
as show in this example code :
import torch
from torch import Tensor
from torch.nn import Sequential, Linear, ReLU
from torch_geometric.nn import MessagePassing
class EdgeConv(MessagePassing):
def init(self, in_channels, out_channels):
super().init(aggr="max") # "Max" aggregation.
self.mlp = Sequential(
Linear(2 * in_channels, out_channels),
ReLU(),
Linear(out_channels, out_channels),
)
how ever,the shape x: Node feature matrix of shape [num_nodes, in_channels]
where my x shape is : Node feature matrix of shape [num_nodes,timesteps, in_channels],
Beta Was this translation helpful? Give feedback.
All reactions