MCPcopy Create free account
hub / github.com/Royalvice/DocDiff / forward

Method forward

src/sobel.py:35–37  ·  view source on GitHub ↗
(self, img)

Source from the content-addressed store, hash-verified

33 self.filter.weight = nn.Parameter(G, requires_grad=False)
34
35 def forward(self, img):
36 x = self.filter(img)
37 return x
38
39if __name__ == "__main__":
40 laplacian = Laplacian()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected