Operator Reference

serialize_class_gmmT_serialize_class_gmmSerializeClassGmmSerializeClassGmmserialize_class_gmm (Operator)

serialize_class_gmmT_serialize_class_gmmSerializeClassGmmSerializeClassGmmserialize_class_gmm — Serialize a Gaussian Mixture Model (GMM).

Signature

serialize_class_gmm( : : GMMHandle : 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()

def serialize_class_gmm(gmmhandle: HHandle) -> HHandle

Description

serialize_class_gmmserialize_class_gmmSerializeClassGmmSerializeClassGmmserialize_class_gmm serializes a Gaussian Mixture Model (GMM) and its stored training samples (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_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_gmmWriteClassGmmWriteClassGmmwrite_class_gmm and write_samples_class_gmmwrite_samples_class_gmmWriteSamplesClassGmmWriteSamplesClassGmmwrite_samples_class_gmm 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 SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_class_gmmdeserialize_class_gmmDeserializeClassGmmDeserializeClassGmmdeserialize_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

GMMHandleGMMHandleGMMHandleGMMHandlegmmhandle (input_control)  class_gmm HClassGmm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

GMM handle.

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

Possible Predecessors

train_class_gmmtrain_class_gmmTrainClassGmmTrainClassGmmtrain_class_gmm

Possible Successors

clear_class_gmmclear_class_gmmClearClassGmmClearClassGmmclear_class_gmm, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_class_gmmdeserialize_class_gmmDeserializeClassGmmDeserializeClassGmmdeserialize_class_gmm

See also

create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmcreate_class_gmm, read_class_gmmread_class_gmmReadClassGmmReadClassGmmread_class_gmm, write_samples_class_gmmwrite_samples_class_gmmWriteSamplesClassGmmWriteSamplesClassGmmwrite_samples_class_gmm, deserialize_class_gmmdeserialize_class_gmmDeserializeClassGmmDeserializeClassGmmdeserialize_class_gmm

Module

Foundation