What is the equivalent to conv1D with kernel size 1x1 in pytorch geometric convolutions?

I would like to know how to apply equivalent operation as conv1D with kerenl size 1x1 in graph data by using e.g., graphSAGE?
Or can I simply just use nn.conv1d(in,out,kernel=1) to the graph nodes?