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

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_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

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