get_dl_model_layer_activationsGetDlModelLayerActivationsGetDlModelLayerActivationsget_dl_model_layer_activationsT_get_dl_model_layer_activations
Short description
get_dl_model_layer_activationsGetDlModelLayerActivationsGetDlModelLayerActivationsget_dl_model_layer_activationsT_get_dl_model_layer_activations — Get the activations of a Deep Learning model layer.
Signature
get_dl_model_layer_activations( out image Activations, dl_model DLModelHandle, string LayerName )void GetDlModelLayerActivations( HObject* Activations, const HTuple& DLModelHandle, const HTuple& LayerName )static void HOperatorSet.GetDlModelLayerActivations( out HObject activations, HTuple DLModelHandle, HTuple layerName )def get_dl_model_layer_activations( dlmodel_handle: HHandle, layer_name: str ) -> HObject
Herror T_get_dl_model_layer_activations( Hobject* Activations, const Htuple DLModelHandle, const Htuple LayerName )
HImage HDlModel::GetDlModelLayerActivations( const HString& LayerName ) const
HImage HDlModel::GetDlModelLayerActivations( const char* LayerName ) const
HImage HDlModel::GetDlModelLayerActivations( const wchar_t* LayerName ) const (Windows only)
HImage HDlModel.GetDlModelLayerActivations( string layerName )
Description
The operator get_dl_model_layer_activationsGetDlModelLayerActivations returns in Activationsactivationsactivations
the activations of the specified LayerNamelayerNamelayer_name of the model
DLModelHandleDLModelHandledlmodel_handle.
Activationsactivationsactivations is a tuple of batch_size many objects,
where every object is an image having the size
(width, height, depth) of the given LayerNamelayerNamelayer_name.
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
Activationsactivationsactivations (output_object) image(-array) → object (real)HObject (real)HImage (real)HObject (real)Hobject * (real)
Output activations.
DLModelHandleDLModelHandledlmodel_handle (input_control) dl_model → (handle)HTuple (HHandle)HDlModel, HTuple (IntPtr)HHandleHtuple (handle)
Handle of the deep learning model.
LayerNamelayerNamelayer_name (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)
Name of the layer to be queried.
Module
Deep Learning Professional