How to use the cogdl.modules.inits.glorot function in cogdl

To help you get started, we’ve selected a few cogdl examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github THUDM / cogdl / cogdl / modules / conv / gcn_conv.py View on Github external
def reset_parameters(self):
        glorot(self.weight)
        zeros(self.bias)
        self.cached_result = None
github THUDM / cogdl / cogdl / modules / conv / gat_conv.py View on Github external
def reset_parameters(self):
        glorot(self.weight)
        glorot(self.att)
        zeros(self.bias)
github THUDM / cogdl / cogdl / modules / conv / gat_conv.py View on Github external
def reset_parameters(self):
        glorot(self.weight)
        glorot(self.att)
        zeros(self.bias)
github THUDM / cogdl / cogdl / modules / conv / maggregator.py View on Github external
def reset_parameters(self):
        glorot(self.weight)
        zeros(self.bias)
        self.cached_result = None
github THUDM / cogdl / cogdl / modules / conv / aggregator.py View on Github external
def reset_parameters(self):
        glorot(self.weight)
        zeros(self.bias)
        self.cached_result = None