MCPcopy Create free account
hub / github.com/lingeringlight/START / forward

Method forward

models/vmamba.py:678–688  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

676 self.downsample = None
677
678 def forward(self, x):
679 for blk in self.blocks:
680 if self.use_checkpoint:
681 x = checkpoint.checkpoint(blk, x)
682 else:
683 x = blk(x)
684
685 if self.downsample is not None:
686 x = self.downsample(x)
687
688 return x
689
690
691class Permute(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected