Skip to content

Commit 77f18b2

Browse files
update emitter default evalue to have dim order match size
Differential Revision: D69211447 Pull Request resolved: pytorch#8303
1 parent c1bc1e9 commit 77f18b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exir/emit/_emitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ def _get_empty_tensor_evalue() -> EValue:
11891189
# The runtime currently only supports tensors with offset 0.
11901190
storage_offset=0,
11911191
sizes=[0],
1192-
dim_order=[],
1192+
dim_order=[0],
11931193
requires_grad=False,
11941194
layout=0,
11951195
data_buffer_idx=0,

0 commit comments

Comments
 (0)