Clarify templates using named tensors
Templates currently use a set of integer-indexed arrays to collate information on input and output tensors. It would be preferable to use named template arguments, following the SONNX conventions where feasible, each capturing the information relevant to the tensor.