get_dl_model_layer_gradientsT_get_dl_model_layer_gradientsGetDlModelLayerGradientsGetDlModelLayerGradientsget_dl_model_layer_gradients (Operator)
Name
get_dl_model_layer_gradientsT_get_dl_model_layer_gradientsGetDlModelLayerGradientsGetDlModelLayerGradientsget_dl_model_layer_gradients
— Get the gradients of a Deep Learning model layer.
Signature
Description
The operator get_dl_model_layer_gradientsget_dl_model_layer_gradientsGetDlModelLayerGradientsGetDlModelLayerGradientsget_dl_model_layer_gradients
returns in GradientsGradientsGradientsgradientsgradients
the
gradients of the specified LayerNameLayerNameLayerNamelayerNamelayer_name
of the model
DLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle
.
GradientsGradientsGradientsgradientsgradients
is a tuple of batch_size
many objects,
where every object is an image having the size
(width
, height
, depth
) of the given LayerNameLayerNameLayerNamelayerNamelayer_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
GradientsGradientsGradientsgradientsgradients
(output_object) image(-array) →
objectHImageHObjectHObjectHobject * (real)
Output gradients.
DLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle
(input_control) dl_model →
HDlModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the deep learning model.
LayerNameLayerNameLayerNamelayerNamelayer_name
(input_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the layer to be queried.
Module
Deep Learning Training