| 41 | namespace fallback { |
| 42 | |
| 43 | size_t WarpPerspectiveImpl::get_workspace_in_bytes( |
| 44 | const TensorLayout&, const TensorLayout&, const TensorLayout&, |
| 45 | const TensorLayout& dst) { |
| 46 | if (param().format == param::WarpPerspective::Format::NCHW) { |
| 47 | size_t OH = dst.shape[2], OW = dst.shape[3]; |
| 48 | return get_bundle(OH, OW).total_size_in_bytes(); |
| 49 | } else { |
| 50 | return 0; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | size_t WarpPerspectiveImpl::get_workspace_in_bytes( |
| 55 | const TensorLayoutArray&, const TensorLayout&, const TensorLayout&, |
nothing calls this directly
no test coverage detected