Create parameter with its value initialized according to a numpy tensor

        Parameters
        ----------
        name : str
            parameter name
        array : np.ndarray
            initiation value

        Returns
        -------
        mxnet.gluon.parameter
            a parameter object

def parameter_from_numpy(self, name, array):
        """ Create parameter with its value initialized according to a numpy tensor

        Parameters
        ----------
        name : str
            parameter name
        array : np.ndarray
            initiation value

        Returns
        -------
        mxnet.gluon.parameter
            a parameter object
        """
        p = self.params.get(name, shape=array.shape, init=mx.init.Constant(array))
        return p