MCPcopy Create free account
hub / github.com/CSAILVision/IBD / apply_attention

Function apply_attention

loader/vqa_model.py:153–179  ·  view source on GitHub ↗

Apply any number of attention maps over the input. The attention map has to have the same size in all dimensions except dim=1.

(input, attention)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

forwardMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected