MCPcopy Create free account
hub / github.com/computational-imaging/bacon / forward

Method forward

modules.py:232–240  ·  view source on GitHub ↗
(self, model_input, mode=None, integral_dim=None)

Source from the content-addressed store, hash-verified

230 return out
231
232 def forward(self, model_input, mode=None, integral_dim=None):
233
234 out = {'output': self.forward_mfn(model_input)}
235
236 if self.is_sdf:
237 return {'model_in': model_input['coords'],
238 'model_out': out['output']}
239
240 return {'model_in': model_input, 'model_out': out}
241
242
243class MultiscaleBACON(MFNBase):

Callers

nothing calls this directly

Calls 1

forward_mfnMethod · 0.95

Tested by

no test coverage detected