You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current code structure is to create a Static InferenceEngine instance.
And then, In a for-loop:
I initiate several variables with: Variable.Bernoulli(n).Named("xxx") as "Prior".
Then I set soft evidence with: Variable.ConstrainEqualRandom
Finally, I do the infer with engine.infer()
In this approach, I come across a memory leak issue where I observed memory usage increase over iterations.
Am I using it correctly? Is there any solution to this one?