MCPcopy Create free account
hub / github.com/pytorch/tutorials / forward

Method forward

advanced_source/numpy_extensions_tutorial.py:116–117  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

114 self.bias = Parameter(torch.randn(1, 1))
115
116 def forward(self, input):
117 return ScipyConv2dFunction.apply(input, self.filter, self.bias)
118
119
120###############################################################

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected