But using tr = pm.sample(1000,chains = 1) works. I am not able to understand which one works in what way?
tr = pm.sample(1000,chains = 1)