Rate this Page

Struct ReLU6Options#

Page Contents

Struct Documentation#

struct ReLU6Options#

Options for the ReLU6 module.

Example:

ReLU6 model(ReLU6Options().inplace(true));

Public Functions

ReLU6Options(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#