| 55 | } |
| 56 | |
| 57 | void Resize::check_exec( |
| 58 | const TensorLayout& src, const TensorLayout& dst, size_t workspace_in_bytes) { |
| 59 | check_layout_fwd(src, dst); |
| 60 | auto required_workspace_in_bytes = get_workspace_in_bytes(src, dst); |
| 61 | megdnn_assert(workspace_in_bytes >= required_workspace_in_bytes); |
| 62 | } |
| 63 | |
| 64 | void ResizeBackward::check_exec( |
| 65 | const TensorLayout& diff, const TensorLayout& grad, size_t workspace_in_bytes) { |
nothing calls this directly
no test coverage detected