Struct SELUOptions¶
Defined in File activation.h
Page Contents
Struct Documentation¶
-
struct SELUOptions¶
Options for the
SELU
module.Example:
SELU model(SELUOptions().inplace(true));
Public Functions
-
SELUOptions(bool inplace = false)¶
-
inline auto inplace(const bool &new_inplace) -> decltype(*this)¶
can optionally do the operation in-place. Default: False
-
inline auto inplace(bool &&new_inplace) -> decltype(*this)¶
-
inline const bool &inplace() const noexcept¶
-
inline bool &inplace() noexcept¶
-
SELUOptions(bool inplace = false)¶