Loss.classes: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/autograd/loss.bend as Loss Lines 278-284 of bendtorch-core@0.1.0.0/src/autograd/loss.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/autograd/loss.bend&start_line=278&end_line=284 import Base # The class numbers 0.0, 1.0, ... of `fuel` columns from `next`. def classes(fuel: Nat, +next: Nat) -> List<&2, F32>: match fuel: case 0n: Nil{} case 1n+remaining: count_f32(next) <> classes(remaining, 1n+next) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/autograd/loss.bend&name=count_f32