MCPcopy Create free account
hub / github.com/ActiveVisionLab/DFNet / forward

Method forward

script/feature/model.py:64–67  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

62 nn.Tanh() # if img is -1 to 1
63 )
64 def forward(self, x):
65 encode = self.encoder(x)
66 decode = self.decoder(encode)
67 return encode, decode
68
69class autoencoder_vgg2(nn.Module): # psnr 25.41
70 ''' add skip connections '''

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected