Skip to content

Commit

Permalink
Add onnx to InputType enum (iree-org#18310)
Browse files Browse the repository at this point in the history
Add onnx to `InputType` enum.

Signed-off-by: Tim Gymnich <[email protected]>
  • Loading branch information
tgymnich authored Aug 21, 2024
1 parent 7c8fedc commit 6a92fb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/bindings/python/iree/compiler/tools/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class InputType(Enum):
TOSA = "tosa"
TM_TENSOR = "tm_tensor"
TORCH = "torch"
ONNX = "onnx"

@staticmethod
def parse(spec: Union[str, InputType]) -> InputType:
Expand Down

0 comments on commit 6a92fb7

Please sign in to comment.