Bendtorch.Mat.print: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/main.bend as Bendtorch Lines 1038-1040 of bendtorch@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/main.bend&start_line=1038&end_line=1040 import Base import bend-ml-tensor-array@0.1.18.0/main.bend as TA # one line: the name, then each number as the decimal of its 32 bits (exact, for the tests in reference/) def Mat.print(+r: Nat, +c: Nat, +name: String, m: TA.Mat) -> IO(Unit): IO.print(name ++ ml_words(r, c, TA.Mat.to_list(r, c, m))) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.print https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit 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=bend-ml-tensor-array@0.1.19.0/main.bend&name=Mat.to_list https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=ml_words