(self)
return ("GPUTensor(base 0x%x) name:%s shape:%s dtype:%s strides:%s "
                "is_trans:%s is_contiguous:%s" % (self.gpudata, self.name,
                                                  self.shape, self.dtype,
                                                  self.strides, self.is_trans,
                                                  self.is_contiguous))
Returns a string representation of this Tensor.

        Returns:
            str: the representation.
Returns a string representation of this Tensor.
Returns a string representation of this Tensor .
def __str__(self):
        """
        Returns a string representation of this Tensor.

        Returns:
            str: the representation.
        """
        return ("GPUTensor(base 0x%x) name:%s shape:%s dtype:%s strides:%s "
                "is_trans:%s is_contiguous:%s" % (self.gpudata, self.name,
                                                  self.shape, self.dtype,
                                                  self.strides, self.is_trans,
                                                  self.is_contiguous))
def __str__ ( self ) : return ( "GPUTensor(base 0x%x) name:%s shape:%s dtype:%s strides:%s " "is_trans:%s is_contiguous:%s" % ( self . gpudata , self . name , self . shape , self . dtype , self . strides , self . is_trans , self . is_contiguous ) )