Struct SoftmaxOptions# Defined in File activation.h Page Contents Struct Documentation Struct Documentation# struct SoftmaxOptions# Options for the Softmax module. Example: Softmax model(SoftmaxOptions(1)); Public Functions SoftmaxOptions(int64_t dim)# inline auto dim(const int64_t &new_dim) -> decltype(*this)# Dimension along which Softmax will be computed. inline auto dim(int64_t &&new_dim) -> decltype(*this)# inline const int64_t &dim() const noexcept# inline int64_t &dim() noexcept#
Struct SoftmaxOptions# Defined in File activation.h Page Contents Struct Documentation Struct Documentation# struct SoftmaxOptions# Options for the Softmax module. Example: Softmax model(SoftmaxOptions(1)); Public Functions SoftmaxOptions(int64_t dim)# inline auto dim(const int64_t &new_dim) -> decltype(*this)# Dimension along which Softmax will be computed. inline auto dim(int64_t &&new_dim) -> decltype(*this)# inline const int64_t &dim() const noexcept# inline int64_t &dim() noexcept#