struct dnnl::convolution_backward_weights

Overview

Convolution weights gradient primitive. More…

#include <dnnl.hpp>

struct convolution_backward_weights: public dnnl::primitive
{
    // structs

    struct desc;
    struct primitive_desc;

    // methods

    convolution_backward_weights();
    convolution_backward_weights(const primitive_desc& pd);

    convolution_backward_weights(
        const primitive_desc& pd,
        const std::vector<uint8_t>& cache_blob
        );
};

Inherited Members

public:
    // enums

    enum kind;

    // methods

    handle();
    handle(const handle<T, traits>&);
    handle<T, traits>& operator = (const handle<T, traits>&);
    handle(handle<T, traits>&&);
    handle<T, traits>& operator = (handle<T, traits>&&);
    handle(T t, bool weak = false);
    void reset(T t, bool weak = false);
    T get(bool allow_empty = false) const;
    operator T () const;
    operator bool () const;
    bool operator == (const handle<T, traits>& other) const;
    bool operator != (const handle& other) const;
    primitive();
    primitive(const_dnnl_primitive_desc_t c_pd);

    primitive(
        const_dnnl_primitive_desc_t c_pd,
        const std::vector<uint8_t>& cache_blob
        );

    primitive(const primitive_desc& pd);
    primitive(const primitive_desc& pd, const std::vector<uint8_t>& cache_blob);
    const_dnnl_primitive_desc_t get_primitive_desc() const;
    kind get_kind() const;
    std::vector<uint8_t> get_cache_blob() const;
    void execute(const stream& astream, const std::unordered_map<int, memory>& args) const;

Detailed Documentation

Convolution weights gradient primitive.

Methods

convolution_backward_weights()

Default constructor. Produces an empty object.

convolution_backward_weights(const primitive_desc& pd)

Constructs a convolution weights gradient primitive.

Parameters:

pd

Primitive descriptor for a convolution weights gradient primitive.

convolution_backward_weights(
    const primitive_desc& pd,
    const std::vector<uint8_t>& cache_blob
    )

Constructs a convolution weights gradient primitive from a cache blob.

Parameters:

pd

Primitive descriptor for a convolution weights gradient primitive.

cache_blob

Cache blob.