MCPcopy Index your code
hub / github.com/PyGCL/PyGCL / project

Method project

examples/GRACE.py:51–53  ·  view source on GitHub ↗
(self, z: torch.Tensor)

Source from the content-addressed store, hash-verified

49 return z, z1, z2
50
51 def project(self, z: torch.Tensor) -> torch.Tensor:
52 z = F.elu(self.fc1(z))
53 return self.fc2(z)
54
55
56def train(encoder_model, contrast_model, data, optimizer):

Callers 5

forwardMethod · 0.95
forwardMethod · 0.95
forwardMethod · 0.95
trainFunction · 0.45
trainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected