update tensor.py docstring according to google docstring style
update tensor.py docstring according to google docstring style

apache/incubator-singa,nudles/incubator-singa,apache/incubator-singa,apache/incubator-singa,nudles/incubator-singa,nudles/incubator-singa,nudles/incubator-singa,nudles/incubator-singa,apache/incubator-singa,apache/incubator-singa