Developer Guide and Reference

  • 2022.1
  • 04/11/2022
  • Public Content
Contents

struct dnnl::vanilla_rnn_forward

Overview

Vanilla RNN forward propagation primitive. More…
#include <dnnl.hpp> struct vanilla_rnn_forward: public dnnl::primitive { // structs struct desc; struct primitive_desc; // construction vanilla_rnn_forward(); vanilla_rnn_forward(const primitive_desc& pd); vanilla_rnn_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(const handle<T, traits>&); handle(handle<T, traits>&&); handle(T t, bool weak = false);

Detailed Documentation

Vanilla RNN forward propagation primitive.
Construction
vanilla_rnn_forward()
Default constructor. Produces an empty object.
vanilla_rnn_forward(const primitive_desc& pd)
Constructs a vanilla RNN forward propagation primitive.
Parameters:
pd
Primitive descriptor for a vanilla RNN forward propagation primitive.
vanilla_rnn_forward( const primitive_desc& pd, const std::vector<uint8_t>& cache_blob )
Constructs a vanilla RNN forward propagation primitive from a cache blob.
Parameters:
pd
Primitive descriptor for a vanilla RNN forward propagation primitive.
cache_blob
Cache blob.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.