Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions torch_xla/csrc/ops/dynamic_ir.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,19 @@ class SizeError : public XlaNode, public torch::lazy::DimensionNode {
SizeError();
int64_t getDynamicValue() const override;
int64_t getStaticValue() const override {
<<<<<<< HEAD
ABSL_LOG(FATAL) << "SizeError::getStaticValue() shouldn't be called.";
return -1;
}
bool isSymbolic() const override {
ABSL_LOG(FATAL) << "SizeError::isSymbolic() shouldn't be called.";
=======
ABSL_LOG(FATAL) << "SizeError shouldn't be called.";
return -1;
}
bool isSymbolic() const override {
ABSL_LOG(FATAL) << "SizeError shouldn't be called.";
>>>>>>> 850bf21e8 (Convert some XLA_CHECKs to fatal errors.)
return true;
}
std::string ToString() const override;
Expand Down
Loading