MCPcopy Create free account
hub / github.com/PolyU-ChenLab/UniPixel / forward

Method forward

sam2/modeling/memory_encoder.py:56–57  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

54 self.encoder.append(nn.Conv2d(mask_out_chans, embed_dim, kernel_size=1))
55
56 def forward(self, x):
57 return self.encoder(x)
58
59
60# Lightly adapted from ConvNext (https://github.com/facebookresearch/ConvNeXt)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected