There was an error while loading. Please reload this page.
2 parents 0d017d9 + 32cb74b commit 8e2cc75Copy full SHA for 8e2cc75
paddle/framework/data_type.h
@@ -28,7 +28,6 @@ inline DataType ToDataType(std::type_index type) {
28
return DataType::INT32;
29
} else {
30
PADDLE_THROW("Not supported");
31
- return static_cast<DataType>(-1);
32
}
33
34
0 commit comments