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

Method forward

mmdet/models/utils/transformer.py:340–385  ·  view source on GitHub ↗

Args: x (Tensor): Has shape (B, H*W, C_in). input_size (tuple[int]): The spatial shape of x, arrange as (H, W). Default: None. Returns: tuple: Contains merged results and its spatial shape. - x (Tensor): Has shape

(self, x, input_size)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected