[][src]Function onednn_sys::dnnl_memory_desc_init_submemory

pub unsafe extern "C" fn dnnl_memory_desc_init_submemory(
    memory_desc: *mut dnnl_memory_desc_t,
    parent_memory_desc: *const dnnl_memory_desc_t,
    dims: *mut dnnl_dim_t,
    offsets: *mut dnnl_dim_t
) -> dnnl_status_t

@param memory_desc Output memory descriptor. @param parent_memory_desc An existing memory descriptor. @param dims Sizes of the region. @param offsets Offsets to the region from the encompassing memory object in each dimension @returns #dnnl_success on success and a status describing the error otherwise.