Skip to content

Commit 4f8d9a1

Browse files
committed
Update on "[executorch][serialization] Move DataSegment into shared common.fbs"
So that `DataSegment` can be shared by incoming data.fbs. Differential Revision: [D65434369](https://our.internmc.facebook.com/intern/diff/D65434369/) [ghstack-poisoned]
2 parents 93ce8eb + 7d38580 commit 4f8d9a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exir/common_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
from dataclasses import dataclass
1010
from enum import IntEnum
1111

12-
1312
# Check exir/common.fbs for explanations of these fields.
1413

14+
1515
class ScalarType(IntEnum):
1616
BYTE = 0
1717
CHAR = 1

exir/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from executorch.exir.backend.compile_spec_schema import CompileSpec
1414

15-
from executorch.exir.common_schema import ScalarType, DataSegment
15+
from executorch.exir.common_schema import DataSegment, ScalarType
1616

1717

1818
@dataclass

0 commit comments

Comments
 (0)