struct dnnl::prelu_backward::desc

Overview

Descriptor for a PReLU backward propagation primitive. More…

#include <dnnl.hpp>

struct desc
{
    // fields

    dnnl_prelu_desc_t data;

    // methods

    desc(
        const memory::desc& data_desc,
        const memory::desc& weight_desc,
        const memory::desc& diff_data_desc,
        const memory::desc& diff_weights_desc
        );
};

Detailed Documentation

Descriptor for a PReLU backward propagation primitive.

Methods

desc(
    const memory::desc& data_desc,
    const memory::desc& weight_desc,
    const memory::desc& diff_data_desc,
    const memory::desc& diff_weights_desc
    )

Constructs a descriptor for a PReLU backward propagation primitive.

Parameters:

data_desc

Source and destination memory descriptors.

weight_desc

Alpha parameters memory descriptor.

diff_data_desc

Diff source and destination memory descriptors.

diff_weights_desc

Diff alpha parameters memory descriptor.