Matmul.stride: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/matmul.bend as Matmul Lines 437-444 of bendtorch-core@0.1.0.0/src/tensor/matmul.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/matmul.bend&start_line=437&end_line=444 import Base # How far term k + 1 of an operand sits from term k: the next word of a # `Kept` row, the next row of a `Swapped` operand of `outers` columns. def stride(+order: Order, +outers: Nat) -> Nat: match order: case Kept{}: 1n case Swapped{}: outers Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/tensor/matmul.bend&name=Order