mirror of https://github.com/llvm/torch-mlir
52dbb160fc
Random tensors used in e2e tests should be created using the `TestUtils` object passed to the registered test case to ensure that the compiled module and the golden trace receive the same tensors as input. This commit changes all the cases of `torch.rand` and `torch.randn` to use the `TestUtils` instead. |
||
---|---|---|
.. | ||
test | ||
torch_mlir | ||
torch_mlir_e2e_test | ||
CMakeLists.txt | ||
TorchMLIRModule.cpp |