def METHOD_NAME(self, a_shape, y_shape=None, rowvar=True, bias=False,
          ddof=None, xp=None, dtype=None,
          fweights=None, aweights=None, name=None):
    a, y = self.generate_input(a_shape, y_shape, xp, dtype)
    if fweights is not None:
        fweights = name.asarray(fweights)
    if aweights is not None:
        aweights = name.asarray(aweights)
    # print(type(fweights))
    return xp.cov(a, y, rowvar, bias, ddof,
                  fweights, aweights, dtype=dtype)