MCPcopy Create free account
hub / github.com/baowenbo/DAIN / predict_flow

Function predict_flow

PWCNet/models/PWCNet.py:30–31  ·  view source on GitHub ↗
(in_planes)

Source from the content-addressed store, hash-verified

28 nn.LeakyReLU(0.1))
29
30def predict_flow(in_planes):
31 return nn.Conv2d(in_planes,2,kernel_size=3,stride=1,padding=1,bias=True)
32
33def deconv(in_planes, out_planes, kernel_size=4, stride=2, padding=1):
34 return nn.ConvTranspose2d(in_planes, out_planes, kernel_size, stride, padding, bias=True)

Callers 2

__init__Method · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected