MCPcopy Create free account
hub / github.com/BunsenFeng/BotRGCN / init_weights

Function init_weights

utils.py:10–12  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

8 return correct / len(labels)
9
10def init_weights(m):
11 if type(m)==nn.Linear:
12 nn.init.kaiming_uniform_(m.weight)
13

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected