Operator Reference
serialize_class_gmm (Operator)
serialize_class_gmm
— Serialize a Gaussian Mixture Model (GMM).
Signature
serialize_class_gmm( : : GMMHandle : SerializedItemHandle)
Description
serialize_class_gmm
serializes a Gaussian Mixture Model (GMM) and
its stored training samples (see fwrite_serialized_item
for an
introduction of the basic principle of serialization). The same data that
is written in a file by write_class_gmm
and
write_samples_class_gmm
is converted to a serialized item.
The Gaussian Mixture Model is defined by the handle GMMHandle
.
The serialized Gaussian Mixture Model is returned by the handle
SerializedItemHandle
and can be deserialized by
deserialize_class_gmm
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
GMMHandle
(input_control) class_gmm →
(handle)
GMM handle.
SerializedItemHandle
(output_control) serialized_item →
(handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_class_gmm
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
Possible Successors
clear_class_gmm
,
fwrite_serialized_item
,
send_serialized_item
,
deserialize_class_gmm
See also
create_class_gmm
,
read_class_gmm
,
write_samples_class_gmm
,
deserialize_class_gmm
Module
Foundation