code: def run(n_samples=1000):
      model = build_model()
      with model:
          trace = pm.sample(
              draws=n_samples, tune=1000, target_accept=0.99
          )
  
      az.plot_trace(trace)
      az.plot_forest(trace)
  
imports: import numpy
  from theano import scan, shared
  import arviz
  import pymc3
label_desc: Use image node_id 2 for calling a global function with example usage: run(n_samples) without return types