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

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_paramSetDlPruningParamSetDlPruningParamSetDlPruningParamset_dl_pruning_param sets the parameter GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name in the pruning handle DLPruningHandleDLPruningHandleDLPruningHandleDLPruningHandleDLPruningHandledlpruning_handle to the value GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value.

An overview as well as a description of the settable parameters is given in get_dl_model_paramget_dl_model_paramGetDlModelParamGetDlModelParamGetDlModelParamget_dl_model_param.

Execution Information

Parameters

DLPruningHandleDLPruningHandleDLPruningHandleDLPruningHandleDLPruningHandledlpruning_handle (input_control)  dl_pruning HDlPrune, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Pruning data handle.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  attribute.name HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name of the generic parameter.

Default value: 'percentage' "percentage" "percentage" "percentage" "percentage" "percentage"

List of values: 'mode'"mode""mode""mode""mode""mode", 'percentage'"percentage""percentage""percentage""percentage""percentage"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_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 value: 10

Suggested values: 'oracle'"oracle""oracle""oracle""oracle""oracle", 10, 20, 30, 40, 50

Result

If the parameters are valid, the operator set_dl_pruning_paramset_dl_pruning_paramSetDlPruningParamSetDlPruningParamSetDlPruningParamset_dl_pruning_param returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

create_dl_pruningcreate_dl_pruningCreateDlPruningCreateDlPruningCreateDlPruningcreate_dl_pruning, get_dl_pruning_paramget_dl_pruning_paramGetDlPruningParamGetDlPruningParamGetDlPruningParamget_dl_pruning_param

See also

get_dl_pruning_paramget_dl_pruning_paramGetDlPruningParamGetDlPruningParamGetDlPruningParamget_dl_pruning_param

Module

Deep Learning Training