// neuron_stack_test.sy -- Test the full neuron stack with Silkie weights.
// 22 biological neurons with H-H gating, running on real weights.

fn main() {
    println("=== NEURON STACK TEST ===")

    let n = load_model("examples/silkie_full.safetensors")
    println("Loaded " + n + " tensors")

    println("Creating neuron stack...")
    let status = create_neuron_stack(1, 512, 64)
    println(status)

    let x = rand_tensor(1, 8, 512)
    println("Input: [1, 8, 512]")

    println("Running neuron stack forward...")
    let out = neuron_stack_forward(x)
    println("Output shape: " + tensor_shape(out))
    println("Output (first few values):")
    println(out)

    println("Resetting states...")
    neuron_stack_reset()
    println("Done!")

    println("=== NEURON STACK OPERATIONAL ===")
}
