(self, other_ary, name=None)
return GPUTensor(self, other_ary.shape, dtype=other_ary.dtype,
                         name=name, persist_values=other_ary.persist_values,
                         allocator=other_ary.allocator,
                         rounding=self.round_mode)._assign(0)
Instantiate a new instance of this backend's Tensor class, with the
        shape taken from ary and populating each element with a value of 0.

        Arguments:
            ary (tensor object): Tensor to inherit the dimensions of.
            dtype (data-type, optional): If present, specifies the underlying
                                         type to employ for each element.

        Returns:
            Tensor: array object
Instantiate a new instance of this backend's Tensor class, with the
        shape taken from ary and populating each element with a value of 0.
Instantiate a new instance of this backend s Tensor class with the shape taken from ary and populating each element with a value of 0 .
def zeros_like(self, other_ary, name=None):
        """
        Instantiate a new instance of this backend's Tensor class, with the
        shape taken from ary and populating each element with a value of 0.

        Arguments:
            ary (tensor object): Tensor to inherit the dimensions of.
            dtype (data-type, optional): If present, specifies the underlying
                                         type to employ for each element.

        Returns:
            Tensor: array object
        """
        return GPUTensor(self, other_ary.shape, dtype=other_ary.dtype,
                         name=name, persist_values=other_ary.persist_values,
                         allocator=other_ary.allocator,
                         rounding=self.round_mode)._assign(0)
def zeros_like ( self , other_ary , name = None ) : return GPUTensor ( self , other_ary . shape , dtype = other_ary . dtype , name = name , persist_values = other_ary . persist_values , allocator = other_ary . allocator , rounding = self . round_mode ) . _assign ( 0 )