Fix BANNED_OPS (Script not If) and clarify MAX_FILESIZE is per .onnx file
Browse files
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', '
|
| 19 |
-
|
| 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()
|