Struct RNNCellOptionsBase¶
Defined in File rnn.h
Page Contents
Struct Documentation¶
-
struct RNNCellOptionsBase¶
Common options for RNNCell, LSTMCell and GRUCell modules.
Public Functions
-
RNNCellOptionsBase(int64_t input_size, int64_t hidden_size, bool bias, int64_t num_chunks)¶
-
inline auto input_size(const int64_t &new_input_size) -> decltype(*this)¶
-
inline auto input_size(int64_t &&new_input_size) -> decltype(*this)¶
-
inline const int64_t &input_size() const noexcept¶
-
inline int64_t &input_size() noexcept¶
-
inline auto bias(const bool &new_bias) -> decltype(*this)¶
-
inline auto bias(bool &&new_bias) -> decltype(*this)¶
-
inline const bool &bias() const noexcept¶
-
inline bool &bias() noexcept¶
-
inline auto num_chunks(const int64_t &new_num_chunks) -> decltype(*this)¶
-
inline auto num_chunks(int64_t &&new_num_chunks) -> decltype(*this)¶
-
inline const int64_t &num_chunks() const noexcept¶
-
inline int64_t &num_chunks() noexcept¶
-
RNNCellOptionsBase(int64_t input_size, int64_t hidden_size, bool bias, int64_t num_chunks)¶