Closed aramoto99 closed 1 year ago
aiaccelが生成するコマンドは,オプショナル引数は次のように生成されます.
--x0 -1e-3
しかしながら,parser_argumentではこのような指定方法はエラーになります.
エラーを回避するには,次のように指定する必要があります.
--x0=-1e-3
このプルリクエストでは,すべてのコマンドライン引数を,<name>=<value>で指定するように変更しました.
<name>=<value>
enable_name_in_optional_argument: true
enable_name_in_optional_argument: false
デフォルトは true で機能します. この機能は,最適化の対象が,pythonプログラム以外のユーザープログラムの場合を想定した改修です.
ありがとうございます。オプションの名前ですが、enableの後ろは動名詞とか-ionみたいな動作を表す名詞 (これなんていうんやろ…) にしてください。
aiaccelが生成するコマンドは,オプショナル引数は次のように生成されます.
しかしながら,parser_argumentではこのような指定方法はエラーになります.
エラーを回避するには,次のように指定する必要があります.
このプルリクエストでは,すべてのコマンドライン引数を,
<name>=<value>
で指定するように変更しました.デフォルトは true で機能します. この機能は,最適化の対象が,pythonプログラム以外のユーザープログラムの場合を想定した改修です.