get_dl_layer_paramGetDlLayerParamGetDlLayerParamget_dl_layer_paramT_get_dl_layer_param
Short description
get_dl_layer_paramGetDlLayerParamGetDlLayerParamget_dl_layer_paramT_get_dl_layer_param — Return the parameters of a deep learning layer.
Signature
get_dl_layer_param( dl_layer DLLayer, attribute.name GenParamName, out attribute.value GenParamValue )void GetDlLayerParam( const HTuple& DLLayer, const HTuple& GenParamName, HTuple* GenParamValue )static void HOperatorSet.GetDlLayerParam( HTuple DLLayer, HTuple genParamName, out HTuple genParamValue )def get_dl_layer_param( dllayer: HHandle, gen_param_name: str ) -> Sequence[HTupleElementType]
def get_dl_layer_param_s( dllayer: HHandle, gen_param_name: str ) -> HTupleElementTypeHerror T_get_dl_layer_param( const Htuple DLLayer, const Htuple GenParamName, Htuple* GenParamValue )
HTuple HDlLayer::GetDlLayerParam( const HString& GenParamName ) const
HTuple HDlLayer::GetDlLayerParam( const char* GenParamName ) const
HTuple HDlLayer::GetDlLayerParam( const wchar_t* GenParamName ) const (Windows only)
HTuple HDlLayer.GetDlLayerParam( string genParamName )
Description
The operator get_dl_layer_paramGetDlLayerParam returns the parameter
GenParamNamegenParamNamegen_param_name of the deep learning layer DLLayerDLLayerdllayer
in GenParamValuegenParamValuegen_param_value.
Depending on the type of the layer, different parameter names
are valid.
Which generic and layer-specific parameters can be queried is described
in the specific references of the operators used for layer creation
(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
DLLayerDLLayerdllayer (input_control) dl_layer → (handle)HTuple (HHandle)HDlLayer, HTuple (IntPtr)HHandleHtuple (handle)
Layer.
GenParamNamegenParamNamegen_param_name (input_control) attribute.name → (string)HTuple (HString)HTuple (string)strHtuple (char*)
Parameter to query.
Default: 'shape'"shape"
List of values: 'input_layer', 'name', 'shape', 'type'"input_layer", "name", "shape", "type"
GenParamValuegenParamValuegen_param_value (output_control) attribute.value(-array) → (real / integer / string / handle)HTuple (double / Hlong / HString / HHandle)HTuple (double / int / long / string / HHandle)Sequence[HTupleElementType]Htuple (double / Hlong / char* / handle)
Value of the queried parameter.
Module
Deep Learning Professional