A primitive to perform tensor operations over two tensors.
More...
A primitive to perform tensor operations over two tensors.
- See also
- Binary in developer guide
◆ dnnl_binary_desc_init()
Initializes a descriptor for a binary primitive.
- Note
- Memory descriptor
dst_desc is allowed to be initialized with dnnl_format_tag_any or with format_kind set to dnnl_format_kind_any.
-
Both memory descriptors must have the same number of dimensions. Element broadcasting is supported for memory descriptor
src1_desc and are applied to @ src1_desc dimensions that have size equal to 1.
- Parameters
-
- Returns
- dnnl_success on success and a status describing the error otherwise.