conversion scripts: cleanup

This commit is contained in:
Cebtenzzre
2023-09-28 15:32:43 -04:00
committed by Adam Treat
parent 6277eac9cc
commit fd47088f2b
3 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,6 @@
from __future__ import annotations
import json
import os
import struct
import sys
from pathlib import Path
@@ -64,6 +63,7 @@ dir_out.mkdir(exist_ok=True)
#
# map from ftype to string
ftype_str = ["f32", "f16"]
ftype = 1
if len(sys.argv) > 3:
ftype = int(sys.argv[3])