set_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_paramT_set_dl_pruning_param
説明
set_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_paramT_set_dl_pruning_param — プルーニングデータハンドルにパラメータを設定します。
書式
set_dl_pruning_param( dl_pruning DLPruningHandle, attribute.name GenParamName, attribute.value GenParamValue )void SetDlPruningParam( const HTuple& DLPruningHandle, const HTuple& GenParamName, const HTuple& GenParamValue )static void HOperatorSet.SetDlPruningParam( HTuple DLPruningHandle, HTuple genParamName, HTuple genParamValue )def set_dl_pruning_param( dlpruning_handle: HHandle, gen_param_name: str, gen_param_value: MaybeSequence[Union[str, float, int]] ) -> None
Herror T_set_dl_pruning_param( const Htuple DLPruningHandle, const Htuple GenParamName, const Htuple GenParamValue )
void HDlPrune::SetDlPruningParam( const HString& GenParamName, const HTuple& GenParamValue ) const
void HDlPrune::SetDlPruningParam( const HString& GenParamName, double GenParamValue ) const
void HDlPrune::SetDlPruningParam( const char* GenParamName, double GenParamValue ) const
void HDlPrune::SetDlPruningParam( const wchar_t* GenParamName, double GenParamValue ) const (Windows only)
void HDlPrune.SetDlPruningParam( string genParamName, HTuple genParamValue )
void HDlPrune.SetDlPruningParam( string genParamName, double genParamValue )
説明
set_dl_pruning_paramSetDlPruningParamはプルーニングハンドルDLPruningHandleDLPruningHandledlpruning_handleのパラメータGenParamNamegenParamNamegen_param_name を値GenParamValuegenParamValuegen_param_valueに設定します。
設定可能なパラメータの説明と概要はget_dl_pruning_paramGetDlPruningParamに記載されています。
実行情報
実行情報
パラメーター
DLPruningHandleDLPruningHandledlpruning_handle (input_control) dl_pruning → (handle)HTuple (HHandle)HDlPrune, HTuple (IntPtr)HHandleHtuple (handle)
プルーニングデータハンドル
GenParamNamegenParamNamegen_param_name (input_control) attribute.name → (string)HTuple (HString)HTuple (string)strHtuple (char*)
パラメータの名前
初期値: 'percentage'"percentage"
値のリスト: 'mode', 'percentage'"mode", "percentage"
GenParamValuegenParamValuegen_param_value (input_control) attribute.value(-array) → (real / string / integer)HTuple (double / HString / Hlong)HTuple (double / string / int / long)MaybeSequence[Union[str, float, int]]Htuple (double / char* / Hlong)
パラメータの値
初期値: 1010
推奨値: 'oracle', 10, 20, 30, 40, 50"oracle", 10, 20, 30, 40, 50
結果
パラメータ値が正しい場合、set_dl_pruning_paramSetDlPruningParam は2 (H_MSG_TRUE)を返します。
必要に応じて例外処理が発生します。
他のオペレーターとの組み合わせ
組み合わせ
前処理の候補
create_dl_pruningCreateDlPruning, get_dl_pruning_paramGetDlPruningParam
関連項目
get_dl_pruning_paramGetDlPruningParam
モジュール
Deep Learning Professional