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

Method forward

mmdet/models/utils/transformer.py:574–621  ·  view source on GitHub ↗

Forward function for `Transformer`. Args: x (Tensor): Input query with shape [bs, c, h, w] where c = embed_dims. mask (Tensor): The key_padding_mask used for encoder and decoder, with shape [bs, h, w]. query_embed (Tensor):

(self, x, mask, query_embed, pos_embed)

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