jettify / pytorch-optimizer

Audit required: External control of file name or path PTC-W6004
Security
Minor
a year agoa year old
External variable 'f' used in file path
10
11
12def _read(f):
13    with open(os.path.join(os.path.dirname(__file__), f)) as f_:14        return f_.read().strip()
15
16