Rename as_vec to into_innner
Generalize TransVec trait to any tensor type