TensorRT currently ignores the "seed" field in RandomUniform or RandomNormal ONNX operations. A nondeterministic random seed is used every time a TensorRT engine is rebuild.
It would be nice to have a way to set the seed for random tensors from the outside like it's the case with PyTorch and NumPy for example.
TensorRT currently ignores the "seed" field in RandomUniform or RandomNormal ONNX operations. A nondeterministic random seed is used every time a TensorRT engine is rebuild.
onnx-tensorrt/onnxOpImporters.cpp
Line 4488 in ff761af
It would be nice to have a way to set the seed for random tensors from the outside like it's the case with PyTorch and NumPy for example.