| 671 | return paddle::none; |
| 672 | } |
| 673 | void TransDataBackend(const phi::DenseTensor* tensor, |
| 674 | Backend target_backend, |
| 675 | phi::DenseTensor* out) { |
| 676 | if (tensor && tensor->initialized()) { |
| 677 | *out = TransDataPlace(*tensor, phi::TransToPhiPlace(target_backend)); |
| 678 | } |
| 679 | } |
| 680 | |
| 681 | void TransDataBackend(const std::vector<phi::DenseTensor*>& tensors, |
| 682 | Backend target_backend, |
no test coverage detected