| 65 | } |
| 66 | |
| 67 | inline bool NeedTransform2Contiguous(bool is_stride_kernel, |
| 68 | bool is_contiguous) { |
| 69 | return FLAGS_use_stride_kernel && !is_stride_kernel && !is_contiguous; |
| 70 | } |
| 71 | |
| 72 | inline phi::DenseTensor TransDataLayout(const phi::DenseTensor& tensor, |
| 73 | DataLayout layout) { |
no outgoing calls
no test coverage detected