MCPcopy Create free account
hub / github.com/YichenGong/Densely-Interactive-Inference-Network / self_attention

Function self_attention

python/models/DIIN.py:247–267  ·  view source on GitHub ↗
(config, is_train, p, p_mask=None, scope=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

self_attention_layerFunction · 0.70

Calls 2

get_logitsFunction · 0.90
softselFunction · 0.90

Tested by

no test coverage detected