rogermt commited on
Commit
cf6a493
·
verified ·
1 Parent(s): 4041952

Fix BANNED_OPS (Script not If) and clarify MAX_FILESIZE is per .onnx file

Browse files
Files changed (1) hide show
  1. neurogolf_solver/constants.py +2 -2
neurogolf_solver/constants.py CHANGED
@@ -15,8 +15,8 @@ OPSET_VERSION = 17
15
 
16
  # Limits
17
  INT64_MIN = int(np.iinfo(np.int64).min)
18
- BANNED_OPS = {'Loop', 'Scan', 'NonZero', 'Unique', 'If', 'Function'}
19
- MAX_FILESIZE = int(1.44 * 1024 * 1024)
20
 
21
  # Task exclusions — NONE. All 400 tasks count.
22
  EXCLUDED_TASKS = set()
 
15
 
16
  # Limits
17
  INT64_MIN = int(np.iinfo(np.int64).min)
18
+ BANNED_OPS = {'Loop', 'Scan', 'NonZero', 'Unique', 'Script', 'Function'}
19
+ MAX_ONNX_FILESIZE = int(1.44 * 1024 * 1024) # per .onnx file, NOT submission zip
20
 
21
  # Task exclusions — NONE. All 400 tasks count.
22
  EXCLUDED_TASKS = set()