Bendtorch.mat_step_fin: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/main.bend as Bendtorch Lines 1533-1536 of bendtorch@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/main.bend&start_line=1533&end_line=1536 import Base import bend-ml-tensor-array@0.1.18.0/main.bend as TA # one optimizer step on a layer whose parameter is a single matrix def mat_step_fin(-r: Nat, -c: Nat, q: MatStep) -> Step>: match q: case MatStep{w, g, st}: Step{w, g, st} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-ml-tensor-array@0.1.19.0/main.bend&name=Mat https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=MatStep https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=Step