mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-19 22:38:52 +00:00
11 lines
203 B
Python
11 lines
203 B
Python
import json
|
|
|
|
from . import version
|
|
|
|
|
|
def read_file(filename):
|
|
with open(filename, "r") as f:
|
|
file_root = json.load(f)
|
|
version.check_file_version(filename, file_root)
|
|
return file_root
|