Operator Reference

set_dl_pruning_paramT_set_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_param (Operator)

set_dl_pruning_paramT_set_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_param — Set parameter in a pruning data handle.

Signature

set_dl_pruning_param( : : DLPruningHandle, GenParamName, GenParamValue : )

Herror T_set_dl_pruning_param(const Htuple DLPruningHandle, const Htuple GenParamName, const Htuple GenParamValue)

void SetDlPruningParam(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)

static void HOperatorSet.SetDlPruningParam(HTuple DLPruningHandle, HTuple genParamName, HTuple genParamValue)

void HDlPrune.SetDlPruningParam(string genParamName, HTuple genParamValue)

void HDlPrune.SetDlPruningParam(string genParamName, double genParamValue)

def set_dl_pruning_param(dlpruning_handle: HHandle, gen_param_name: str, gen_param_value: MaybeSequence[Union[str, float, int]]) -> None

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