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_gradientsGetDlModelLayerGradientsGetDlModelLayerGradientsGetDlModelLayerGradientsget_dl_model_layer_gradients
returns in GradientsGradientsGradientsGradientsgradientsgradients
the
gradients of the specified LayerNameLayerNameLayerNameLayerNamelayerNamelayer_name
of the model
DLModelHandleDLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle
.
GradientsGradientsGradientsGradientsgradientsgradients
is a tuple of batch_size
many objects,
where every object is an image having the size
(width
, height
, depth
) of the given LayerNameLayerNameLayerNameLayerNamelayerNamelayer_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
GradientsGradientsGradientsGradientsgradientsgradients
(output_object) image(-array) →
objectHImageHObjectHImageHobject * (real)
Output gradients.
DLModelHandleDLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle
(input_control) dl_model →
HDlModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the deep learning model.
LayerNameLayerNameLayerNameLayerNamelayerNamelayer_name
(input_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the layer to be queried.
Module
Deep Learning Training