| 54 | */ |
| 55 | |
| 56 | void updateDims( const int aParamCount, const int PopSize0 = 0 ) |
| 57 | { |
| 58 | const int aPopSize = ( PopSize0 > 0 ? PopSize0 : 13 + aParamCount ); |
| 59 | |
| 60 | if( aParamCount == ParamCount && aPopSize == PopSize ) |
| 61 | { |
| 62 | return; |
| 63 | } |
| 64 | |
| 65 | initBuffers( aParamCount, aPopSize ); |
| 66 | |
| 67 | Ort.updateDims( aParamCount, aPopSize ); |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Function initializes *this optimizer. |
nothing calls this directly
no outgoing calls
no test coverage detected