set_dl_model_layer_paramSetDlModelLayerParamSetDlModelLayerParamset_dl_model_layer_paramT_set_dl_model_layer_param
Short description
set_dl_model_layer_paramSetDlModelLayerParamSetDlModelLayerParamset_dl_model_layer_paramT_set_dl_model_layer_param β Set parameter values of a given layer.
Signature
set_dl_model_layer_param( dl_model DLModelHandle, string LayerName, attribute.name ParamName, attribute.value ParamValue )void SetDlModelLayerParam( const HTuple& DLModelHandle, const HTuple& LayerName, const HTuple& ParamName, const HTuple& ParamValue )static void HOperatorSet.SetDlModelLayerParam( HTuple DLModelHandle, HTuple layerName, HTuple paramName, HTuple paramValue )def set_dl_model_layer_param( dlmodel_handle: HHandle, layer_name: str, param_name: str, param_value: MaybeSequence[Union[int, float, str]] ) -> None
Herror T_set_dl_model_layer_param( const Htuple DLModelHandle, const Htuple LayerName, const Htuple ParamName, const Htuple ParamValue )
static void HDlLayer::SetDlModelLayerParam( const HDlModel& DLModelHandle, const HString& LayerName, const HString& ParamName, const HTuple& ParamValue )
static void HDlLayer::SetDlModelLayerParam( const HDlModel& DLModelHandle, const HString& LayerName, const HString& ParamName, const HString& ParamValue )
static void HDlLayer::SetDlModelLayerParam( const HDlModel& DLModelHandle, const char* LayerName, const char* ParamName, const char* ParamValue )
static void HDlLayer::SetDlModelLayerParam( const HDlModel& DLModelHandle, const wchar_t* LayerName, const wchar_t* ParamName, const wchar_t* ParamValue ) (Windows only)
static void HDlLayer.SetDlModelLayerParam( HDlModel DLModelHandle, string layerName, string paramName, HTuple paramValue )
static void HDlLayer.SetDlModelLayerParam( HDlModel DLModelHandle, string layerName, string paramName, string paramValue )
Description
The operator set_dl_model_layer_paramSetDlModelLayerParam sets the value
ParamValueparamValueparam_value of the parameter ParamNameparamNameparam_name for a layer.
The layer is referred to by its name LayerNamelayerNamelayer_name in the model
DLModelHandleDLModelHandledlmodel_handle. You can retrieve the layer names using
get_dl_model_paramGetDlModelParam with its option 'layer_names'"layer_names" or
'summary'"summary".
Which generic and layer-specific parameters can be set is described
in the entries of the operators (create_dl_layer_*), which
are used for creating the layer.
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
DLModelHandleDLModelHandledlmodel_handle (input_control) dl_model β (handle)HTuple (HHandle)HDlModel, HTuple (IntPtr)HHandleHtuple (handle)
Deep learning model.
LayerNamelayerNamelayer_name (input_control) string β (string)HTuple (HString)HTuple (string)strHtuple (char*)
Name of the output layer.
ParamNameparamNameparam_name (input_control) attribute.name β (string)HTuple (HString)HTuple (string)strHtuple (char*)
Name of the set parameter.
Default: [][]
List of values: 'alpha', 'bias_filler', 'bias_filler_const_val', 'bias_filler_variance_norm', 'is_inference_output', 'learning_rate_multiplier', 'learning_rate_multiplier_bias', 'name', 'upper_bound', 'weight_filler', 'weight_filler_const_val', 'weight_filler_variance_norm'"alpha", "bias_filler", "bias_filler_const_val", "bias_filler_variance_norm", "is_inference_output", "learning_rate_multiplier", "learning_rate_multiplier_bias", "name", "upper_bound", "weight_filler", "weight_filler_const_val", "weight_filler_variance_norm"
ParamValueparamValueparam_value (input_control) attribute.value(-array) β (string / integer / real)HTuple (HString / Hlong / double)HTuple (string / int / long / double)MaybeSequence[Union[int, float, str]]Htuple (char* / Hlong / double)
Value of the set parameter.
Default: [][]
List of values: 'const', 'false', 'msra', 'norm_average', 'norm_in', 'norm_out', 'true', 'xavier'"const", "false", "msra", "norm_average", "norm_in", "norm_out", "true", "xavier"
Combinations with other operators
Combinations
See also
set_dl_model_paramSetDlModelParam, get_dl_model_paramGetDlModelParam, get_dl_model_layer_paramGetDlModelLayerParam
Module
This operator uses dynamic licensing (see the βInstallation Guideβ). Which of the following modules is required depends on the specific usage of the operator:
3D Metrology, OCR/OCV, Deep Learning Professional