MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / forward

Method forward

mmdet/models/utils/transformer.py:236–257  ·  view source on GitHub ↗

Args: x (Tensor): Has shape (B, C, H, W). In most case, C is 3. Returns: tuple: Contains merged results and its spatial shape. - x (Tensor): Has shape (B, out_h * out_w, embed_dims) - out_size (tuple[int]): Spatial shape of x

(self, x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

forwardMethod · 0.45
forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected