A primitive to sum multiple tensors.
More...
A primitive to sum multiple tensors.
- See also
- Sum in developer guide
◆ dnnl_sum_primitive_desc_create()
Creates a primitive descriptor for an (out-of-place) sum primitive.
- Parameters
-
sum_primitive_desc | Output primitive descriptor. |
dst_desc | Destination memory descriptor. |
n | Number of source parameters. |
scales | Vector of scales to multiply data in each source memory by. |
src_descs | Array of source memory descriptors having n elements. |
attr | Primitive attributes to use (can be NULL). |
engine | Engine to use. |
- Returns
- dnnl_success on success and a status describing the error otherwise.