ClassesClasses | | Operators

serialize_class_gmmserialize_class_gmmSerializeClassGmmSerializeClassGmm (Operator)

Name

serialize_class_gmmserialize_class_gmmSerializeClassGmmSerializeClassGmm — Serialize a Gaussian Mixture Model (GMM).

Signature

serialize_class_gmm( : : GMMHandle : SerializedItemHandle)

Herror serialize_class_gmm(const Hlong GMMHandle, Hlong* SerializedItemHandle)

Herror T_serialize_class_gmm(const Htuple GMMHandle, Htuple* SerializedItemHandle)

void SerializeClassGmm(const HTuple& GMMHandle, HTuple* SerializedItemHandle)

HSerializedItem HClassGmm::SerializeClassGmm() const

static void HOperatorSet.SerializeClassGmm(HTuple GMMHandle, out HTuple serializedItemHandle)

HSerializedItem HClassGmm.SerializeClassGmm()

Description

serialize_class_gmmserialize_class_gmmSerializeClassGmmSerializeClassGmmSerializeClassGmm serializes a Gaussian Mixture Model (GMM) and its stored training samples (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The same data that is written in a file by write_class_gmmwrite_class_gmmWriteClassGmmWriteClassGmmWriteClassGmm and write_samples_class_gmmwrite_samples_class_gmmWriteSamplesClassGmmWriteSamplesClassGmmWriteSamplesClassGmm is converted to a serialized item. The Gaussian Mixture Model is defined by the handle GMMHandleGMMHandleGMMHandleGMMHandleGMMHandle. The serialized Gaussian Mixture Model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_class_gmmdeserialize_class_gmmDeserializeClassGmmDeserializeClassGmmDeserializeClassGmm.

Execution Information

Parameters

GMMHandleGMMHandleGMMHandleGMMHandleGMMHandle (input_control)  class_gmm HClassGmm, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

GMM handle.

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_class_gmmserialize_class_gmmSerializeClassGmmSerializeClassGmmSerializeClassGmm returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

train_class_gmmtrain_class_gmmTrainClassGmmTrainClassGmmTrainClassGmm

Possible Successors

clear_class_gmmclear_class_gmmClearClassGmmClearClassGmmClearClassGmm, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_class_gmmdeserialize_class_gmmDeserializeClassGmmDeserializeClassGmmDeserializeClassGmm

See also

create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmCreateClassGmm, read_class_gmmread_class_gmmReadClassGmmReadClassGmmReadClassGmm, write_samples_class_gmmwrite_samples_class_gmmWriteSamplesClassGmmWriteSamplesClassGmmWriteSamplesClassGmm, deserialize_class_gmmdeserialize_class_gmmDeserializeClassGmmDeserializeClassGmmDeserializeClassGmm

Module

Foundation


ClassesClasses | | Operators