MCPcopy Create free account
hub / github.com/HKUDS/PromptMM / __init__

Method __init__

codes/Models.py:490–493  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

488
489class BLMLP(nn.Module):
490 def __init__(self):
491 super(BLMLP, self).__init__()
492 self.W = nn.Parameter(nn.init.xavier_uniform_(torch.empty(args.student_embed_size, args.student_embed_size)))
493 self.act = nn.LeakyReLU(negative_slope=0.5)
494
495 def forward(self, embeds):
496 pass

Callers 6

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected