Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Audio-AGI/AudioSep
/ init_weights
Method
init_weights
models/CLAP/open_clip/pann_model.py:152–155 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
150
self.init_weights()
151
152
def
init_weights(self):
153
init_layer(self.att)
154
init_layer(self.cla)
155
init_bn(self.bn_att)
156
157
def
forward(self, x):
158
# x: (n_samples, n_in, n_time)
Callers
1
__init__
Method · 0.95
Calls
2
init_layer
Function · 0.70
init_bn
Function · 0.70
Tested by
no test coverage detected