(self)
return policy
Returns:
            A new linear Gaussian policy object with the same dimensions
            but all values filled with NaNs.
Returns:
            A new linear Gaussian policy object with the same dimensions
            but all values filled with NaNs.
Returns : A new linear Gaussian policy object with the same dimensions but all values filled with NaNs .
def nans_like(self):
        """
        Returns:
            A new linear Gaussian policy object with the same dimensions
            but all values filled with NaNs.
        """
        policy = LinearGaussianPolicy(
            np.zeros_like(self.K), np.zeros_like(self.k),
            np.zeros_like(self.pol_covar), np.zeros_like(self.chol_pol_covar),
            np.zeros_like(self.inv_pol_covar)
        )
        policy.K.fill(np.nan)
        policy.k.fill(np.nan)
        policy.pol_covar.fill(np.nan)
        policy.chol_pol_covar.fill(np.nan)
        policy.inv_pol_covar.fill(np.nan)
        return policy
def nans_like ( self ) : policy = LinearGaussianPolicy ( np . zeros_like ( self . K ) , np . zeros_like ( self . k ) , np . zeros_like ( self . pol_covar ) , np . zeros_like ( self . chol_pol_covar ) , np . zeros_like ( self . inv_pol_covar ) ) policy . K . fill ( np . nan ) policy . k . fill ( np . nan ) policy . pol_covar . fill ( np . nan ) policy . chol_pol_covar . fill ( np . nan ) policy . inv_pol_covar . fill ( np . nan ) return policy