MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / ParseDataTypeWithInputOrder

Function ParseDataTypeWithInputOrder

paddle/phi/api/lib/kernel_dispatch.cc:156–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156DataType ParseDataTypeWithInputOrder(DataType dtype, const Tensor& tensor) {
157 return dtype != DataType::UNDEFINED ? dtype : ParseDataType(tensor);
158}
159
160Backend ParseBackend(const Place& place) {
161#ifdef PADDLE_WITH_CUSTOM_DEVICE

Callers

nothing calls this directly

Calls 1

ParseDataTypeFunction · 0.85

Tested by

no test coverage detected