get_dl_model_layer_paramGetDlModelLayerParamGetDlModelLayerParamget_dl_model_layer_paramT_get_dl_model_layer_param
Short description
get_dl_model_layer_paramGetDlModelLayerParamGetDlModelLayerParamget_dl_model_layer_paramT_get_dl_model_layer_param β Retrieve parameter values for a given layer.
Signature
get_dl_model_layer_param( dl_model DLModelHandle, string LayerName, string ParamName, out tuple ParamValue )void GetDlModelLayerParam( const HTuple& DLModelHandle, const HTuple& LayerName, const HTuple& ParamName, HTuple* ParamValue )static void HOperatorSet.GetDlModelLayerParam( HTuple DLModelHandle, HTuple layerName, HTuple paramName, out HTuple paramValue )def get_dl_model_layer_param( dlmodel_handle: HHandle, layer_name: str, param_name: str ) -> Sequence[Union[str, float, int]]
def get_dl_model_layer_param_s( dlmodel_handle: HHandle, layer_name: str, param_name: str ) -> Union[str, float, int]Herror T_get_dl_model_layer_param( const Htuple DLModelHandle, const Htuple LayerName, const Htuple ParamName, Htuple* ParamValue )
static HTuple HDlLayer::GetDlModelLayerParam( const HDlModel& DLModelHandle, const HString& LayerName, const HString& ParamName )
static HTuple HDlLayer::GetDlModelLayerParam( const HDlModel& DLModelHandle, const char* LayerName, const char* ParamName )
static HTuple HDlLayer::GetDlModelLayerParam( const HDlModel& DLModelHandle, const wchar_t* LayerName, const wchar_t* ParamName ) (Windows only)
static HTuple HDlLayer.GetDlModelLayerParam( HDlModel DLModelHandle, string layerName, string paramName )
Description
The operator get_dl_model_layer_paramGetDlModelLayerParam returns for a layer the value
of the parameter ParamNameparamNameparam_name in ParamValueparamValueparam_value.
The layer is referred 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 queried is described
in the specific operator references (create_dl_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) string β (string)HTuple (HString)HTuple (string)strHtuple (char*)
Name of the queried parameter.
Default: 'type'"type"
List of values: 'alpha', 'bias_filler', 'bias_filler_const_val', 'bias_filler_variance_norm', 'bias_term', 'input_layer', 'is_inference_output', 'learning_rate_multiplier', 'learning_rate_multiplier_bias', 'name', 'num_trainable_params', 'output_layer', 'shape', 'type', 'upper_bound', 'weight_filler', 'weight_filler_const_val', 'weight_filler_variance_norm'"alpha", "bias_filler", "bias_filler_const_val", "bias_filler_variance_norm", "bias_term", "input_layer", "is_inference_output", "learning_rate_multiplier", "learning_rate_multiplier_bias", "name", "num_trainable_params", "output_layer", "shape", "type", "upper_bound", "weight_filler", "weight_filler_const_val", "weight_filler_variance_norm"
Restriction: length(ParamName) > 0
ParamValueparamValueparam_value (output_control) tuple(-array) β (string / real / integer)HTuple (HString / double / Hlong)HTuple (string / double / int / long)Sequence[Union[str, float, int]]Htuple (char* / double / Hlong)
Value of the queried parameter.
Combinations with other operators
Combinations
See also
get_dl_model_paramGetDlModelParam, set_dl_model_layer_paramSetDlModelLayerParam
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