| 263 | } |
| 264 | |
| 265 | SoftmaxBoundType Options::getSoftmaxBoundType() const |
| 266 | { |
| 267 | String boundType = String( _stringOptions.get( Options::SOFTMAX_BOUND_TYPE ) ); |
| 268 | if ( boundType == "er" ) |
| 269 | return SoftmaxBoundType::EXPONENTIAL_RECIPROCAL_DECOMPOSITION; |
| 270 | else if ( boundType == "lse" ) |
| 271 | return SoftmaxBoundType::LOG_SUM_EXP_DECOMPOSITION; |
| 272 | else |
| 273 | { |
| 274 | return SoftmaxBoundType::LOG_SUM_EXP_DECOMPOSITION; |
| 275 | } |
| 276 | } |
no test coverage detected