code: def test_CovAR1(seeded_rng):
      cov = CovAR1(size=m)
  
      cov_np = np.linalg.inv(cov.solve(eye))
  
      logdet_np, sinv_np, sinvx_np = logdet_sinv_np(X, cov_np)
      assert_allclose(logdet_np, cov.logdet, rtol=rtol)
      assert_allclose(sinvx_np, cov.solve(X_tf), rtol=rtol)
  
      # test initialization
      cov = CovAR1(rho=0.3, sigma=1.3, size=3)
      assert_allclose(np.exp(cov.log_sigma.numpy()), 1.3)
      assert_allclose((2 * tf.sigmoid(cov.rho_unc) - 1).numpy(), 0.3)
  
imports: import pytest
  import numpy
  from numpy.testing import assert_allclose
  from scipy.stats import norm, wishart, invgamma, invwishart
  import tensorflow
  from brainiak.matnormal.covs import CovIdentity, CovAR1, CovIsotropic, CovDiagonal, CovDiagonalGammaPrior, CovUnconstrainedCholesky, CovUnconstrainedCholeskyWishartReg, CovUnconstrainedInvCholesky, CovKroneckerFactored
label_desc: Use image node_id 15 for calling a global function with example usage: test_CovAR1(seeded_rng) without return types