serialize_class_gmmT_serialize_class_gmmSerializeClassGmmSerializeClassGmmserialize_class_gmm (Operator)
Name
serialize_class_gmmT_serialize_class_gmmSerializeClassGmmSerializeClassGmmserialize_class_gmm
— Serialize a Gaussian Mixture Model (GMM).
Signature
def serialize_class_gmm(gmmhandle: HHandle) -> HHandle
Description
serialize_class_gmmserialize_class_gmmSerializeClassGmmSerializeClassGmmSerializeClassGmmserialize_class_gmm
serializes a Gaussian Mixture Model (GMM) and
its stored training samples (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an
introduction of the basic principle of serialization). The same data that
is written in a file by write_class_gmmwrite_class_gmmWriteClassGmmWriteClassGmmWriteClassGmmwrite_class_gmm
and
write_samples_class_gmmwrite_samples_class_gmmWriteSamplesClassGmmWriteSamplesClassGmmWriteSamplesClassGmmwrite_samples_class_gmm
is converted to a serialized item.
The Gaussian Mixture Model is defined by the handle GMMHandleGMMHandleGMMHandleGMMHandleGMMHandlegmmhandle
.
The serialized Gaussian Mixture Model is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_class_gmmdeserialize_class_gmmDeserializeClassGmmDeserializeClassGmmDeserializeClassGmmdeserialize_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
GMMHandleGMMHandleGMMHandleGMMHandleGMMHandlegmmhandle
(input_control) class_gmm →
HClassGmm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
GMM handle.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(output_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_class_gmmserialize_class_gmmSerializeClassGmmSerializeClassGmmSerializeClassGmmserialize_class_gmm
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
train_class_gmmtrain_class_gmmTrainClassGmmTrainClassGmmTrainClassGmmtrain_class_gmm
Possible Successors
clear_class_gmmclear_class_gmmClearClassGmmClearClassGmmClearClassGmmclear_class_gmm
,
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_class_gmmdeserialize_class_gmmDeserializeClassGmmDeserializeClassGmmDeserializeClassGmmdeserialize_class_gmm
See also
create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmCreateClassGmmcreate_class_gmm
,
read_class_gmmread_class_gmmReadClassGmmReadClassGmmReadClassGmmread_class_gmm
,
write_samples_class_gmmwrite_samples_class_gmmWriteSamplesClassGmmWriteSamplesClassGmmWriteSamplesClassGmmwrite_samples_class_gmm
,
deserialize_class_gmmdeserialize_class_gmmDeserializeClassGmmDeserializeClassGmmDeserializeClassGmmdeserialize_class_gmm
Module
Foundation