onnxruntime.set_seed counterpart for the C# API? #24100
Unanswered
yezhiyi9670
asked this question in
API Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to set a seed for random modules during inference in order to enable reproducible output. I see that there is a
set_seed
method in the Python API, but I cannot find similar methods in the C# API. I have also tried to ask LLMs and they keep saying thatSessionOptions
has a method calledSetSeed
without being able to cite any reliable source (and in my case it does not exist).What is the API for setting an inference seed in C#? Or is it currently not possible to do so?
Beta Was this translation helpful? Give feedback.
All reactions