Add two named-dimension tensors
A complete program with a polymorphic dimension. The two literal tensors share n, and the result keeps that dimension.
module HelloTensor
def main() -> tensor[n, f32] = {
a = to_tensor([1.0, 2.0, 3.0])
b = to_tensor([4.0, 5.0, 6.0])
out = add(a, b)
out
}