pub fn join_index(prefix: &str, index: usize) -> String
Join a prefix and a numeric index into a dot-separated path ("prefix.3").
prefix
index
"prefix.3"
Used by the derive to name the elements of a Vec<Tensor> field.
Vec<Tensor>