Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepGraphLearning/S3F
/ __init__
Method
__init__
s3f/gvp_layer.py:207–210 ·
view source on GitHub ↗
(self, dims)
Source
from the content-addressed store, hash-verified
205
Takes tuples (s, V)
as
input and
as
output.
206
''
&
#x27;
207
def
__init__(self, dims):
208
super().__init__()
209
self.s, self.v = dims
210
self.scalar_norm = nn.LayerNorm(self.s)
211
212
def
forward(self, x):
213
''
&
#x27;
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected