We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7283e commit 7b6e44aCopy full SHA for 7b6e44a
torch_xla/csrc/tensor_impl.cpp
@@ -120,9 +120,7 @@ at::IntArrayRef XLATensorImpl::sizes_custom() const {
120
121
c10::SymIntArrayRef XLATensorImpl::sym_sizes_custom() const {
122
const_cast<XLATensorImpl*>(this)->SetupSymSizeProperties();
123
- return c10::SymIntArrayRef(
124
- reinterpret_cast<const c10::SymInt*>(sym_sizes_.data()),
125
- sym_sizes_.size());
+ return c10::SymIntArrayRef(sym_sizes_.data(), sym_sizes_.size());
126
}
127
128
c10::SymInt XLATensorImpl::sym_numel_custom() const {
0 commit comments