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
Description
The operator get_dl_model_layer_paramget_dl_model_layer_paramGetDlModelLayerParamGetDlModelLayerParamGetDlModelLayerParamget_dl_model_layer_param
returns for a layer the value
of the parameter ParamNameParamNameParamNameParamNameparamNameparam_name
in ParamValueParamValueParamValueParamValueparamValueparam_value
.
The layer is referred by its name LayerNameLayerNameLayerNameLayerNamelayerNamelayer_name
in the model
DLModelHandleDLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle
. You can retrieve the layer names using
get_dl_model_paramget_dl_model_paramGetDlModelParamGetDlModelParamGetDlModelParamget_dl_model_param
with its option 'layer_names'"layer_names""layer_names""layer_names""layer_names""layer_names" or
'summary'"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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
DLModelHandleDLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle
(input_control) dl_model →
HDlModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Deep learning model.
LayerNameLayerNameLayerNameLayerNamelayerNamelayer_name
(input_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the output layer.
ParamNameParamNameParamNameParamNameparamNameparam_name
(input_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the queried parameter.
Default value:
'type'
"type"
"type"
"type"
"type"
"type"
List of values: 'bias_filler'"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_const_val", 'bias_filler_variance_norm'"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""bias_term", 'input_layer'"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""is_inference_output", 'leaky_relu_alpha'"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", 'learning_rate_multiplier_bias'"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""name", 'num_trainable_params'"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""output_layer", 'shape'"shape""shape""shape""shape""shape", 'type'"type""type""type""type""type", 'upper_bound'"upper_bound""upper_bound""upper_bound""upper_bound""upper_bound", 'weight_filler'"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_const_val", 'weight_filler_variance_norm'"weight_filler_variance_norm""weight_filler_variance_norm""weight_filler_variance_norm""weight_filler_variance_norm""weight_filler_variance_norm"
Restriction: length(ParamName) > 0
ParamValueParamValueParamValueParamValueparamValueparam_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_paramGetDlModelParamGetDlModelParamGetDlModelParamget_dl_model_param
,
set_dl_model_layer_paramset_dl_model_layer_paramSetDlModelLayerParamSetDlModelLayerParamSetDlModelLayerParamset_dl_model_layer_param
Module
Deep Learning Training