MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / getSoftmaxBoundType

Method getSoftmaxBoundType

src/configuration/Options.cpp:265–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265SoftmaxBoundType 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}

Callers 1

Calls 2

StringClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected