Updated function signature for Tensor Module.

* updated vec_basic arg to const vec_basic& arg
* updated vec_basic&& arg to const vec_basic&& arg