get_dl_classifier_paramT_get_dl_classifier_paramGetDlClassifierParamGetDlClassifierParam (Operator)

Name

get_dl_classifier_paramT_get_dl_classifier_paramGetDlClassifierParamGetDlClassifierParam — Return the parameters of a deep-learning-based classifier.

Warning

get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParamGetDlClassifierParam is obsolete and is only provided for reasons of backward compatibility. New applications should use common CNN-based operator get_dl_model_paramget_dl_model_paramGetDlModelParamGetDlModelParamGetDlModelParam instead.

Signature

get_dl_classifier_param( : : DLClassifierHandle, GenParamName : GenParamValue)

Herror T_get_dl_classifier_param(const Htuple DLClassifierHandle, const Htuple GenParamName, Htuple* GenParamValue)

void GetDlClassifierParam(const HTuple& DLClassifierHandle, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HDlClassifier::GetDlClassifierParam(const HTuple& GenParamName) const

HTuple HDlClassifier::GetDlClassifierParam(const HString& GenParamName) const

HTuple HDlClassifier::GetDlClassifierParam(const char* GenParamName) const

HTuple HDlClassifier::GetDlClassifierParam(const wchar_t* GenParamName) const   (Windows only)

static void HOperatorSet.GetDlClassifierParam(HTuple DLClassifierHandle, HTuple genParamName, out HTuple genParamValue)

HTuple HDlClassifier.GetDlClassifierParam(HTuple genParamName)

HTuple HDlClassifier.GetDlClassifierParam(string genParamName)

Description

get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParamGetDlClassifierParam returns the parameter values GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue of GenParamNameGenParamNameGenParamNameGenParamNamegenParamName of the neural network DLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandle.

The hyperparameters and network parameters can be set with the operator set_dl_classifier_paramset_dl_classifier_paramSetDlClassifierParamSetDlClassifierParamSetDlClassifierParam, in whose reference entry they are described in detail. With get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParamGetDlClassifierParam you can query all these values.

Additionally, there are parameters defined by the network which are read-only. These parameters are:

'image_range_min'"image_range_min""image_range_min""image_range_min""image_range_min":

Minimum gray value.

'image_range_max'"image_range_max""image_range_max""image_range_max""image_range_max":

Maximum gray value.

The precise values for these parameters and the default parameters for the image dimension depend on the concrete network, see read_dl_classifierread_dl_classifierReadDlClassifierReadDlClassifierReadDlClassifier.

Every image that is fed into the network must be present according to the parameters defining the image properties. To preprocess images accordingly, the procedure preprocess_dl_classifier_images is available.

For an explanation of the concept of deep-learning-based classification see the introduction of chapter Deep Learning / Classification. The workflow involving this legacy operator is described in the chapter Legacy / DL Classification.

Execution Information

Parameters

DLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandle (input_control)  dl_classifier HDlClassifier, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the deep-learning-based classifier.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of the generic parameter.

Default value: 'gpu' "gpu" "gpu" "gpu" "gpu"

List of values: 'batch_size'"batch_size""batch_size""batch_size""batch_size", 'batch_size_multiplier'"batch_size_multiplier""batch_size_multiplier""batch_size_multiplier""batch_size_multiplier", 'classes'"classes""classes""classes""classes", 'gpu'"gpu""gpu""gpu""gpu", 'image_dimensions'"image_dimensions""image_dimensions""image_dimensions""image_dimensions", 'image_height'"image_height""image_height""image_height""image_height", 'image_num_channels'"image_num_channels""image_num_channels""image_num_channels""image_num_channels", 'image_range_max'"image_range_max""image_range_max""image_range_max""image_range_max", 'image_range_min'"image_range_min""image_range_min""image_range_min""image_range_min", 'image_width'"image_width""image_width""image_width""image_width", 'learning_rate'"learning_rate""learning_rate""learning_rate""learning_rate", 'momentum'"momentum""momentum""momentum""momentum", 'runtime'"runtime""runtime""runtime""runtime", 'runtime_init'"runtime_init""runtime_init""runtime_init""runtime_init", 'weight_prior'"weight_prior""weight_prior""weight_prior""weight_prior"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (output_control)  attribute.name(-array) HTupleHTupleHtuple (integer / string / real) (int / long / string / double) (Hlong / HString / double) (Hlong / char* / double)

Value of the generic parameter.

Result

If the parameters are valid, the operator get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParamGetDlClassifierParam returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

read_dl_classifierread_dl_classifierReadDlClassifierReadDlClassifierReadDlClassifier, set_dl_classifier_paramset_dl_classifier_paramSetDlClassifierParamSetDlClassifierParamSetDlClassifierParam

Possible Successors

train_dl_classifier_batchtrain_dl_classifier_batchTrainDlClassifierBatchTrainDlClassifierBatchTrainDlClassifierBatch, apply_dl_classifierapply_dl_classifierApplyDlClassifierApplyDlClassifierApplyDlClassifier

Alternatives

get_dl_model_paramget_dl_model_paramGetDlModelParamGetDlModelParamGetDlModelParam

See also

set_dl_classifier_paramset_dl_classifier_paramSetDlClassifierParamSetDlClassifierParamSetDlClassifierParam

Module

Deep Learning Inference