Update tensor.h
Update tensor_gpu-inl.cuh
support transpose in chain operation. also update examples.
update transpose and example