| 154 | } |
| 155 | |
| 156 | DataType ParseDataTypeWithInputOrder(DataType dtype, const Tensor& tensor) { |
| 157 | return dtype != DataType::UNDEFINED ? dtype : ParseDataType(tensor); |
| 158 | } |
| 159 | |
| 160 | Backend ParseBackend(const Place& place) { |
| 161 | #ifdef PADDLE_WITH_CUSTOM_DEVICE |
nothing calls this directly
no test coverage detected