MCPcopy Create free account
hub / github.com/DropEdge/DropEdge / forward

Method forward

src/layers.py:429–434  ·  view source on GitHub ↗
(self, input, adj)

Source from the content-addressed store, hash-verified

427 self.bias.data.uniform_(-stdv, stdv)
428
429 def forward(self, input, adj):
430 output = torch.mm(input, self.weight)
431 if self.bias is not None:
432 output = output + self.bias
433 output = self.bn(output)
434 return self.sigma(output)
435
436 def __repr__(self):
437 return self.__class__.__name__ + ' (' \

Callers 3

forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected