Bendtorch.tdp: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/main.bend as Bendtorch Lines 3499-3502 of bendtorch@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/main.bend&start_line=3499&end_line=3502 import Base def tdp(-P: Type, g: P, +p1: F32, +p2: F32, +l: F32, rp: PL
, rt: PTU) -> TrainPL
: match rp rt: case PL{p, xp} PTU{t, +n}: tdp2(P, p, g, p1, p2, l, xp, pt_store(t, Array.new(F32, depth(U32.to_nat(n)), 0.0), 0)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.new https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=PL https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=PTU https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=TrainPL https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=depth https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=pt_store https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=tdp2