serialize_dl_classifier — Serialize a deep-learning-based classifier.
serialize_dl_classifier is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
common CNN-based operator serialize_dl_model.
serialize_dl_classifier( : : DLClassifierHandle : SerializedItemHandle)
serialize_dl_classifier serializes a deep-learning-based classifier
(see fwrite_serialized_item for an introduction of the basic
principle of serialization). The classifier is defined by the handle
DLClassifierHandle. The serialized classifier is
returned by the handle SerializedItemHandle and can be deserialized
by deserialize_dl_classifier.
该算子 acts the same as write_dl_classifier except that the
output is a serialized item instead of a file. For a detailed description
please refer to the documentation of write_dl_classifier.
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.
DLClassifierHandle (input_control) dl_classifier → (handle)
Handle of the deep-learning-based classifier.
SerializedItemHandle (output_control) serialized_item → (handle)
序列化项的句柄。
如果参数均有效,算子 serialize_dl_classifier
返回值 2 (
H_MSG_TRUE)
. 如有必要,将引发异常。
apply_dl_classifier,
train_dl_classifier_batch,
fwrite_serialized_item,
send_serialized_item,
set_dl_classifier_param,
get_dl_classifier_param
deserialize_dl_classifier,
apply_dl_classifier,
train_dl_classifier_batch
Deep Learning Inference