Imported from https://github.com/mlperf/inference
