get_dl_model_layer_paramT_get_dl_model_layer_paramGetDlModelLayerParamGetDlModelLayerParamget_dl_model_layer_param (Operator)

Name

get_dl_model_layer_paramT_get_dl_model_layer_paramGetDlModelLayerParamGetDlModelLayerParamget_dl_model_layer_param — Retrieve parameter values for a given layer.

Signature

get_dl_model_layer_param( : : DLModelHandle, LayerName, ParamName : ParamValue)

Herror T_get_dl_model_layer_param(const Htuple DLModelHandle, const Htuple LayerName, const Htuple ParamName, Htuple* ParamValue)

void GetDlModelLayerParam(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 void HOperatorSet.GetDlModelLayerParam(HTuple DLModelHandle, HTuple layerName, HTuple paramName, out HTuple paramValue)

static HTuple HDlLayer.GetDlModelLayerParam(HDlModel DLModelHandle, string layerName, string paramName)

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]

Description

The operator get_dl_model_layer_paramget_dl_model_layer_paramGetDlModelLayerParamGetDlModelLayerParamget_dl_model_layer_param returns for a layer the value of the parameter ParamNameParamNameParamNameparamNameparam_name in ParamValueParamValueParamValueparamValueparam_value. The layer is referred by its name LayerNameLayerNameLayerNamelayerNamelayer_name in the model DLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle. You can retrieve the layer names using get_dl_model_paramget_dl_model_paramGetDlModelParamGetDlModelParamget_dl_model_param with its option 'layer_names'"layer_names""layer_names""layer_names""layer_names" or 'summary'"summary""summary""summary""summary".

Which generic and layer-specific parameters can be queried is described in the specific operator references (create_dl_layer_*).

Execution Information

Parameters

DLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle (input_control)  dl_model HDlModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Deep learning model.

LayerNameLayerNameLayerNamelayerNamelayer_name (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name of the output layer.

ParamNameParamNameParamNameparamNameparam_name (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name of the queried parameter.

Default: 'type' "type" "type" "type" "type"

List of values: 'bias_filler'"bias_filler""bias_filler""bias_filler""bias_filler", 'bias_filler_const_val'"bias_filler_const_val""bias_filler_const_val""bias_filler_const_val""bias_filler_const_val", 'bias_filler_variance_norm'"bias_filler_variance_norm""bias_filler_variance_norm""bias_filler_variance_norm""bias_filler_variance_norm", 'bias_term'"bias_term""bias_term""bias_term""bias_term", 'input_layer'"input_layer""input_layer""input_layer""input_layer", 'is_inference_output'"is_inference_output""is_inference_output""is_inference_output""is_inference_output", 'leaky_relu_alpha'"leaky_relu_alpha""leaky_relu_alpha""leaky_relu_alpha""leaky_relu_alpha", 'learning_rate_multiplier'"learning_rate_multiplier""learning_rate_multiplier""learning_rate_multiplier""learning_rate_multiplier", 'learning_rate_multiplier_bias'"learning_rate_multiplier_bias""learning_rate_multiplier_bias""learning_rate_multiplier_bias""learning_rate_multiplier_bias", 'name'"name""name""name""name", 'num_trainable_params'"num_trainable_params""num_trainable_params""num_trainable_params""num_trainable_params", 'output_layer'"output_layer""output_layer""output_layer""output_layer", 'shape'"shape""shape""shape""shape", 'type'"type""type""type""type", 'upper_bound'"upper_bound""upper_bound""upper_bound""upper_bound", 'weight_filler'"weight_filler""weight_filler""weight_filler""weight_filler", 'weight_filler_const_val'"weight_filler_const_val""weight_filler_const_val""weight_filler_const_val""weight_filler_const_val", 'weight_filler_variance_norm'"weight_filler_variance_norm""weight_filler_variance_norm""weight_filler_variance_norm""weight_filler_variance_norm"

Restriction: length(ParamName) > 0

ParamValueParamValueParamValueparamValueparam_value (output_control)  tuple(-array) HTupleSequence[Union[str, float, int]]HTupleHtuple (string / real / integer) (string / double / int / long) (HString / double / Hlong) (char* / double / Hlong)

Value of the queried parameter.

See also

get_dl_model_paramget_dl_model_paramGetDlModelParamGetDlModelParamget_dl_model_param, set_dl_model_layer_paramset_dl_model_layer_paramSetDlModelLayerParamSetDlModelLayerParamset_dl_model_layer_param

Module

Foundation. 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