gen_dl_pruned_modelT_gen_dl_pruned_modelGenDlPrunedModelGenDlPrunedModelgen_dl_pruned_model (Operator)

Name

gen_dl_pruned_modelT_gen_dl_pruned_modelGenDlPrunedModelGenDlPrunedModelgen_dl_pruned_model — Prune a deep learning model.

Signature

gen_dl_pruned_model( : : DLModelHandleToPrune, DLPruningHandle : DLModelHandlePruned)

Herror T_gen_dl_pruned_model(const Htuple DLModelHandleToPrune, const Htuple DLPruningHandle, Htuple* DLModelHandlePruned)

void GenDlPrunedModel(const HTuple& DLModelHandleToPrune, const HTuple& DLPruningHandle, HTuple* DLModelHandlePruned)

HDlModel HDlModel::GenDlPrunedModel(const HDlPrune& DLPruningHandle) const

static void HOperatorSet.GenDlPrunedModel(HTuple DLModelHandleToPrune, HTuple DLPruningHandle, out HTuple DLModelHandlePruned)

HDlModel HDlModel.GenDlPrunedModel(HDlPrune DLPruningHandle)

def gen_dl_pruned_model(dlmodel_handle_to_prune: HHandle, dlpruning_handle: HHandle) -> HHandle

Description

The operator gen_dl_pruned_modelgen_dl_pruned_modelGenDlPrunedModelGenDlPrunedModelgen_dl_pruned_model copies the input model DLModelHandleToPruneDLModelHandleToPruneDLModelHandleToPruneDLModelHandleToPrunedlmodel_handle_to_prune and returns the pruned copy in DLModelHandlePrunedDLModelHandlePrunedDLModelHandlePrunedDLModelHandlePruneddlmodel_handle_pruned. Note that gen_dl_pruned_modelgen_dl_pruned_modelGenDlPrunedModelGenDlPrunedModelgen_dl_pruned_model supports only deep learning models of 'type'"type""type""type""type"='classification'"classification""classification""classification""classification".

The parameter DLPruningHandleDLPruningHandleDLPruningHandleDLPruningHandledlpruning_handle provides the necessary information as e.g., the selected pruning mode, the percentage or the kernel scores. See create_dl_pruningcreate_dl_pruningCreateDlPruningCreateDlPruningcreate_dl_pruning for further information about implemented pruning modes.

Behavior in special cases:

Execution Information

Parameters

DLModelHandleToPruneDLModelHandleToPruneDLModelHandleToPruneDLModelHandleToPrunedlmodel_handle_to_prune (input_control)  dl_model HDlModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Input model.

DLPruningHandleDLPruningHandleDLPruningHandleDLPruningHandledlpruning_handle (input_control)  dl_pruning HDlPrune, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Pruning data handle.

DLModelHandlePrunedDLModelHandlePrunedDLModelHandlePrunedDLModelHandlePruneddlmodel_handle_pruned (output_control)  dl_model HDlModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Pruned model.

Possible Predecessors

add_dl_pruning_batchadd_dl_pruning_batchAddDlPruningBatchAddDlPruningBatchadd_dl_pruning_batch, set_dl_pruning_paramset_dl_pruning_paramSetDlPruningParamSetDlPruningParamset_dl_pruning_param

Module

Deep Learning Professional