[−][src]Function onednn_sys::dnnl_concat_primitive_desc_create
pub unsafe extern "C" fn dnnl_concat_primitive_desc_create(
concat_primitive_desc: *mut dnnl_primitive_desc_t,
dst_desc: *const dnnl_memory_desc_t,
n: c_int,
concat_dimension: c_int,
src_descs: *const dnnl_memory_desc_t,
attr: const_dnnl_primitive_attr_t,
engine: dnnl_engine_t
) -> dnnl_status_t
Creates a primitive descriptor for an out-of-place concatenation primitive.
@param concat_primitive_desc Output primitive descriptor. @param dst_desc Destination memory descriptor. @param n Number of source parameters. @param concat_dimension Source tensors will be concatenated over dimension with this index. Note that order of dimensions does not depend on memory format. @param src_descs Array of source memory descriptors with @p n elements. @param attr Primitive attributes to use (can be NULL). @param engine Engine to use. @returns #dnnl_success on success and a status describing the error otherwise.