diff --git a/exir/common_schema.py b/exir/common_schema.py index cc69c7cc85..a5cdef9736 100644 --- a/exir/common_schema.py +++ b/exir/common_schema.py @@ -9,9 +9,9 @@ from dataclasses import dataclass from enum import IntEnum - # Check exir/common.fbs for explanations of these fields. + class ScalarType(IntEnum): BYTE = 0 CHAR = 1 diff --git a/exir/schema.py b/exir/schema.py index 4759bbd0f4..75345480f8 100644 --- a/exir/schema.py +++ b/exir/schema.py @@ -12,7 +12,7 @@ from executorch.exir.backend.compile_spec_schema import CompileSpec -from executorch.exir.common_schema import ScalarType, DataSegment +from executorch.exir.common_schema import DataSegment, ScalarType @dataclass