serialize_training_componentsT_serialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponents (Operator)

Name

serialize_training_componentsT_serialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponents — Serialize a component training result.

Signature

serialize_training_components( : : ComponentTrainingID : SerializedItemHandle)

Herror T_serialize_training_components(const Htuple ComponentTrainingID, Htuple* SerializedItemHandle)

void SerializeTrainingComponents(const HTuple& ComponentTrainingID, HTuple* SerializedItemHandle)

HSerializedItem HComponentTraining::SerializeTrainingComponents() const

static void HOperatorSet.SerializeTrainingComponents(HTuple componentTrainingID, out HTuple serializedItemHandle)

HSerializedItem HComponentTraining.SerializeTrainingComponents()

Description

serialize_training_componentsserialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponentsSerializeTrainingComponents serializes the data of a component training result (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_training_componentswrite_training_componentsWriteTrainingComponentsWriteTrainingComponentsWriteTrainingComponents is converted to a serialized item. The component training result is defined by the handle ComponentTrainingIDComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingID. The serialized component training result is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_training_componentsdeserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsDeserializeTrainingComponents.

Execution Information

Parameters

ComponentTrainingIDComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingID (input_control)  component_training HComponentTraining, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the training result.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

If the parameters are valid, the operator serialize_training_componentsserialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponentsSerializeTrainingComponents returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

train_model_componentstrain_model_componentsTrainModelComponentsTrainModelComponentsTrainModelComponents

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_training_componentsdeserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsDeserializeTrainingComponents

Module

Matching