Skip to content

Commit cb44325

Browse files
committed
Update on "[executorch][schema] Add 'EXTERNAL' to DataLocation in schema"
To indicate if a tensor is external to the PTE file or not. Currently, we can also use the existence of 'fqn' to determine if a tensor is external or not. I think it's better to have a specific location field as fqn may be required for cases besides external tensor storage. Differential Revision: [D66523171](https://our.internmc.facebook.com/intern/diff/D66523171/) [ghstack-poisoned]
2 parents 089d99b + 62171bf commit cb44325

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

exir/schema.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ class Tensor:
7272

7373
# check program.fbs for explanations.
7474
shape_dynamism: TensorShapeDynamism
75-
location: DataLocation
7675
extra_tensor_info: Optional[ExtraTensorInfo] = None
7776

7877

0 commit comments

Comments
 (0)