set_dl_pruning_paramT_set_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_param (Operator)
Name
set_dl_pruning_paramT_set_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_param
— Set parameter in a pruning data handle.
Signature
Description
set_dl_pruning_paramset_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_param
sets the parameter GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name
in the
pruning handle DLPruningHandleDLPruningHandleDLPruningHandleDLPruningHandledlpruning_handle
to the value GenParamValueGenParamValueGenParamValuegenParamValuegen_param_value
.
An overview as well as a description of the settable parameters is given in
get_dl_model_paramget_dl_model_paramGetDlModelParamGetDlModelParamget_dl_model_param
.
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
DLPruningHandleDLPruningHandleDLPruningHandleDLPruningHandledlpruning_handle
(input_control) dl_pruning →
HDlPrune, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Pruning data handle.
GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name
(input_control) attribute.name →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the generic parameter.
Default:
'percentage'
"percentage"
"percentage"
"percentage"
"percentage"
List of values:
'mode'"mode""mode""mode""mode", 'percentage'"percentage""percentage""percentage""percentage"
GenParamValueGenParamValueGenParamValuegenParamValuegen_param_value
(input_control) attribute.value(-array) →
HTupleMaybeSequence[Union[str, float, int]]HTupleHtuple (real / string / integer) (double / string / int / long) (double / HString / Hlong) (double / char* / Hlong)
Value of the generic parameter.
Default:
10
Suggested values:
'oracle'"oracle""oracle""oracle""oracle", 10, 20, 30, 40, 50
Result
If the parameters are valid, the operator
set_dl_pruning_paramset_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_param
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
create_dl_pruningcreate_dl_pruningCreateDlPruningCreateDlPruningcreate_dl_pruning
,
get_dl_pruning_paramget_dl_pruning_paramGetDlPruningParamGetDlPruningParamget_dl_pruning_param
See also
get_dl_pruning_paramget_dl_pruning_paramGetDlPruningParamGetDlPruningParamget_dl_pruning_param
Module
Deep Learning Professional