MCPcopy Create free account
hub / github.com/LTH14/mar / forward

Method forward

models/vae.py:486–490  ·  view source on GitHub ↗
(self, inputs, disable=True, train=True, optimizer_idx=0)

Source from the content-addressed store, hash-verified

484 return dec
485
486 def forward(self, inputs, disable=True, train=True, optimizer_idx=0):
487 if train:
488 return self.training_step(inputs, disable, optimizer_idx)
489 else:
490 return self.validation_step(inputs, disable)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected