Visible to Intel only — GUID: GUID-91E942F5-8B07-4AAE-A44D-FC7C2ACA6BD3
Visible to Intel only — GUID: GUID-91E942F5-8B07-4AAE-A44D-FC7C2ACA6BD3
struct dnnl::layer_normalization_forward
Overview
Layer normalization forward propagation primitive. More…
#include <dnnl.hpp>
struct layer_normalization_forward: public dnnl::primitive
{
// structs
struct primitive_desc;
// construction
layer_normalization_forward();
layer_normalization_forward(const primitive_desc& pd);
layer_normalization_forward(
const primitive_desc& pd,
const std::vector<uint8_t>& cache_blob
);
};
Inherited Members
public:
// enums
enum kind;
// methods
handle<T, traits>& operator = (const handle<T, traits>&);
handle<T, traits>& operator = (handle<T, traits>&&);
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;
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;
handle();
handle();
handle();
handle();
Detailed Documentation
Layer normalization forward propagation primitive.
Construction
layer_normalization_forward()
Default constructor. Produces an empty object.
layer_normalization_forward(const primitive_desc& pd)
Constructs a layer normalization forward propagation primitive.
Parameters:
pd |
Primitive descriptor for a layer normalization forward propagation primitive. |
layer_normalization_forward(
const primitive_desc& pd,
const std::vector<uint8_t>& cache_blob
)
Constructs a layer normalization forward propagation primitive from a cache blob.
Parameters:
pd |
Primitive descriptor for a layer normalization forward propagation primitive. |
cache_blob |
Cache blob. |