code: def test_laplace_sample_model():
      """
      Tests sampling function
      """
      model = pf.GAS(data=data, ar=1, sc=1, family=pf.Laplace())
      x = model.fit("BBVI", iterations=100)
      sample = model.sample(nsims=100)
      assert sample.shape[0] == 100
      assert sample.shape[1] == len(data) - 1
  
imports: import numpy
  import pyflux
label_desc: Use image node_id 23 for calling a global function with example usage: test_laplace_sample_model() without return types