MCPcopy Create free account
hub / github.com/CERT-Lab/lora-sb / kaiming_uniform_init

Function kaiming_uniform_init

utils/initialization_utils.py:73–75  ·  view source on GitHub ↗
(matrix: torch.tensor)

Source from the content-addressed store, hash-verified

71 return matrix
72
73def kaiming_uniform_init(matrix: torch.tensor):
74 init.kaiming_uniform_(matrix, a=math.sqrt(5))
75 return matrix
76
77
78

Callers 2

find_and_initialize_gradFunction · 0.85
find_and_initializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected