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 8f8df59 commit 2ad82deCopy full SHA for 2ad82de
torch_xla/csrc/ir.cpp
@@ -225,7 +225,7 @@ void ScopePusher::ResetScopes() { ResetScopeContext(); }
225
226
const xla::Shape& GetXlaShape(const torch::lazy::Value& value) {
227
XlaNode* casted = dynamic_cast<XlaNode*>(value.node.get());
228
- return casted->xla_shape();
+ return casted->xla_shape(value.index);
229
}
230
231
} // namespace torch_xla
0 commit comments