File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,24 @@ class OptionalTensorList:
35
35
36
36
class TensorShapeDynamism (IntEnum ):
37
37
"""
38
- Check schema .fbs for explanations of this enum.
38
+ Check program .fbs for explanations of this enum.
39
39
"""
40
40
41
41
STATIC = 0
42
42
DYNAMIC_BOUND = 1
43
43
DYNAMIC_UNBOUND = 2
44
44
45
45
46
+ @dataclass
47
+ class ExtraTensorInfo :
48
+ """
49
+ Check program.fbs for explanations of this enum.
50
+ """
51
+
52
+ mutable_data_segments_idx : Optional [int ] = None
53
+ fully_qualified_name : Optional [str ] = None
54
+
55
+
46
56
@dataclass
47
57
class Tensor :
48
58
scalar_type : ScalarType
@@ -54,8 +64,9 @@ class Tensor:
54
64
data_buffer_idx : int
55
65
allocation_info : Optional [AllocationDetails ]
56
66
57
- # check schema .fbs for explanations
67
+ # check program .fbs for explanations.
58
68
shape_dynamism : TensorShapeDynamism
69
+ extra_tensor_info : Optional [ExtraTensorInfo ] = None
59
70
60
71
61
72
@dataclass
You can’t perform that action at this time.
0 commit comments