google / ml-compiler-opt

Infrastructure for Machine Learning Guided Optimization (MLGO) in LLVM.
Apache License 2.0
630 stars 93 forks source link

Add SamplerWithoutReplacement to corpus.py. #259

Closed jacob-hegna closed 1 year ago

jacob-hegna commented 1 year ago

This is useful for supervised learning contexts where we want to train in fixed epochs, where in each epoch we visit each module in the corpus exactly once.