ClassesClasses | | Operators

serialize_dl_classifierserialize_dl_classifierSerializeDlClassifierSerializeDlClassifier (Operator)

Name

serialize_dl_classifierserialize_dl_classifierSerializeDlClassifierSerializeDlClassifier — Serialize a deep-learning-based classifier.

Signature

serialize_dl_classifier( : : DLClassifierHandle : SerializedItemHandle)

Herror serialize_dl_classifier(const Hlong DLClassifierHandle, Hlong* SerializedItemHandle)

Herror T_serialize_dl_classifier(const Htuple DLClassifierHandle, Htuple* SerializedItemHandle)

void SerializeDlClassifier(const HTuple& DLClassifierHandle, HTuple* SerializedItemHandle)

HSerializedItem HDlClassifier::SerializeDlClassifier() const

static void HOperatorSet.SerializeDlClassifier(HTuple DLClassifierHandle, out HTuple serializedItemHandle)

HSerializedItem HDlClassifier.SerializeDlClassifier()

Description

serialize_dl_classifierserialize_dl_classifierSerializeDlClassifierSerializeDlClassifierSerializeDlClassifier serializes a deep-learning-based classifier (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The classifier is defined by the handle DLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandle. The serialized classifier is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_dl_classifierdeserialize_dl_classifierDeserializeDlClassifierDeserializeDlClassifierDeserializeDlClassifier.

The operator acts the same as write_dl_classifierwrite_dl_classifierWriteDlClassifierWriteDlClassifierWriteDlClassifier except that the output is a serialized item instead of a file. For a detailed description please refer to the operator reference documentation of write_dl_classifierwrite_dl_classifierWriteDlClassifierWriteDlClassifierWriteDlClassifier.

For an explanation of the concept of deep-learning-based classification see the introduction of chapter Deep Learning / Classification.

Execution Information

Parameters

DLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandle (input_control)  dl_classifier HDlClassifier, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the deep-learning-based classifier.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the serialized item.

Result

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

Possible Predecessors

train_dl_classifier_batchtrain_dl_classifier_batchTrainDlClassifierBatchTrainDlClassifierBatchTrainDlClassifierBatch

Possible Successors

apply_dl_classifierapply_dl_classifierApplyDlClassifierApplyDlClassifierApplyDlClassifier, train_dl_classifier_batchtrain_dl_classifier_batchTrainDlClassifierBatchTrainDlClassifierBatchTrainDlClassifierBatch, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, set_dl_classifier_paramset_dl_classifier_paramSetDlClassifierParamSetDlClassifierParamSetDlClassifierParam, get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParamGetDlClassifierParam

See also

deserialize_dl_classifierdeserialize_dl_classifierDeserializeDlClassifierDeserializeDlClassifierDeserializeDlClassifier, apply_dl_classifierapply_dl_classifierApplyDlClassifierApplyDlClassifierApplyDlClassifier, train_dl_classifier_batchtrain_dl_classifier_batchTrainDlClassifierBatchTrainDlClassifierBatchTrainDlClassifierBatch

Module

Deep Learning Inference


ClassesClasses | | Operators