score op• Data kinds: tokens × tokens → attnmap
• Call: import fullseye as fs; fs.ledger.attention_scores(query, key, scale=None) -> 'np.ndarray' (to call the implementation directly, import llmcore; llmcore.attention_scores(query, key, scale=None) -> 'np.ndarray'; from the registry, opsllmcore.get("attention_scores"))
> This operator's description has not been translated yet. The original text follows as it is.
生の注意スコア QKᵀ/√d → attnmap (T, S)。
Args:
query: (T, d) float。問い合わせる側。
key: (S, d) float。引かれる側。d は query と同じ。
scale: スコアの倍率。None なら 1/√d(Vaswani ら 2017 —— 内積が d に比例して
育ち softmax が尖るのを打ち消す)。
Returns:
attnmap (T, S) float: softmax にかける前の生のスコア。
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• poc_attention_identities — py -3.11 examples/poc_attention_identities.py
attnmap as input)attention_weights · attention_apply
score)attention_weights · attention_apply
*Provenance: llmcore.py — LLMCORE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.