| 347 | bool is_nhwc_contig_wc(const TensorLayout& layout); |
| 348 | |
| 349 | static inline void copy_plane_in_bytes( |
| 350 | void* dst, const void* src, size_t height, size_t width, size_t stride_dst, |
| 351 | size_t stride_src) { |
| 352 | for (size_t h = 0; h < height; ++h) { |
| 353 | std::memcpy( |
| 354 | static_cast<unsigned char*>(dst) + h * stride_dst, |
| 355 | static_cast<const unsigned char*>(src) + h * stride_src, width); |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | megcoreDeviceHandle_t get_device_handle(Handle* handle); |
| 360 |
no outgoing calls
no test coverage detected