// cascade_test.sy -- Test the 4-tier cascade with real Silkie weights.
// 34 conductance heads, H-H gating, astrocyte fusion.

fn main() {
    println("=== CASCADE TEST ===")

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

    let status = create_cascade()
    println(status)

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

    cascade_reset()
    let out = cascade_forward(x)
    println("Cascade output shape: " + tensor_shape(out))
    println("Output (scaled by cascade_scale):")
    println(out)

    println("=== CASCADE OPERATIONAL ===")
}
