set_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_paramT_set_dl_pruning_param
Short description
set_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_paramT_set_dl_pruning_param — Set parameter in a pruning data handle.
Signature
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 )
Description
set_dl_pruning_paramSetDlPruningParam sets the parameter GenParamNamegenParamNamegen_param_name in the
pruning handle DLPruningHandleDLPruningHandledlpruning_handle to the value GenParamValuegenParamValuegen_param_value.
An overview as well as a description of the settable parameters is given in
get_dl_model_paramGetDlModelParam.
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters
DLPruningHandleDLPruningHandledlpruning_handle (input_control) dl_pruning → (handle)HTuple (HHandle)HDlPrune, HTuple (IntPtr)HHandleHtuple (handle)
Pruning data handle.
GenParamNamegenParamNamegen_param_name (input_control) attribute.name → (string)HTuple (HString)HTuple (string)strHtuple (char*)
Name of the generic parameter.
Default: 'percentage'"percentage"
List of values: '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)
Value of the generic parameter.
Default: 1010
Suggested values: 'oracle', 10, 20, 30, 40, 50"oracle", 10, 20, 30, 40, 50
Result
If the parameters are valid, the operator
set_dl_pruning_paramSetDlPruningParam returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Combinations with other operators
Combinations
Possible predecessors
create_dl_pruningCreateDlPruning, get_dl_pruning_paramGetDlPruningParam
See also
get_dl_pruning_paramGetDlPruningParam
Module
Deep Learning Professional