Skip to content

Commit a79d062

Browse files
committed
adding sum_sizes support
1 parent f1b8579 commit a79d062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch_xla/csrc/tensor_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ at::IntArrayRef XLATensorImpl::sizes_custom() const {
126126
}
127127

128128
c10::SymIntArrayRef XLATensorImpl::sym_sizes_custom() const {
129-
if (false) {
129+
if (true) {
130130
return c10::SymIntArrayRef(reinterpret_cast<const c10::SymInt*>(sym_sizes_.data()),
131131
sym_sizes_.size());
132132
} else {

0 commit comments

Comments
 (0)