Operator Reference

get_dl_model_layer_gradientsT_get_dl_model_layer_gradientsGetDlModelLayerGradientsGetDlModelLayerGradientsget_dl_model_layer_gradients (Operator)

get_dl_model_layer_gradientsT_get_dl_model_layer_gradientsGetDlModelLayerGradientsGetDlModelLayerGradientsget_dl_model_layer_gradients — Get the gradients of a Deep Learning model layer.

Signature

get_dl_model_layer_gradients( : Gradients : DLModelHandle, LayerName : )

Herror T_get_dl_model_layer_gradients(Hobject* Gradients, const Htuple DLModelHandle, const Htuple LayerName)

void GetDlModelLayerGradients(HObject* Gradients, const HTuple& DLModelHandle, const HTuple& LayerName)

HImage HDlModel::GetDlModelLayerGradients(const HString& LayerName) const

HImage HDlModel::GetDlModelLayerGradients(const char* LayerName) const

HImage HDlModel::GetDlModelLayerGradients(const wchar_t* LayerName) const   ( Windows only)

static void HOperatorSet.GetDlModelLayerGradients(out HObject gradients, HTuple DLModelHandle, HTuple layerName)

HImage HDlModel.GetDlModelLayerGradients(string layerName)

def get_dl_model_layer_gradients(dlmodel_handle: HHandle, layer_name: str) -> HObject

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 Professional