Bendtorch.kv_of: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/main.bend as Bendtorch Lines 2353-2356 of bendtorch@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/main.bend&start_line=2353&end_line=2356 import Base # the key/value head that query head hi reads, with g query heads per key/value head; the forward and the backward pass # both pick it here (the law kv_of_group says which heads share one) def kv_of(+hi: Nat, +g: Nat) -> Nat: Nat.div(hi, g) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.div