| 55 | } |
| 56 | |
| 57 | bool ReduceCheckIfOneDNNSupport(const KernelContext* dev_ctx) { |
| 58 | if (dev_ctx->InputAt<DenseTensor>(0).dims().size() > 5 || |
| 59 | !HasOptimizedOneDNNKernel(dev_ctx)) { |
| 60 | return false; |
| 61 | } |
| 62 | return true; |
| 63 | } |
| 64 | |
| 65 | bool ReduceMeanCheckIfOneDNNSupport(const KernelContext* dev_ctx) { |
| 66 | std::cout << "ReduceMeanCheckIfOneDNNSupport" << std::endl; |
nothing calls this directly
no test coverage detected