serialize_training_componentsT_serialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponentsserialize_training_components (Operator)

Name

serialize_training_componentsT_serialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponentsserialize_training_components — 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()

def serialize_training_components(component_training_id: HHandle) -> HHandle

Description

serialize_training_componentsserialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponentsSerializeTrainingComponentsserialize_training_components serializes the data of a component training result (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_training_componentswrite_training_componentsWriteTrainingComponentsWriteTrainingComponentsWriteTrainingComponentswrite_training_components is converted to a serialized item. The component training result is defined by the handle ComponentTrainingIDComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingIDcomponent_training_id. The serialized component training result is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_training_componentsdeserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsDeserializeTrainingComponentsdeserialize_training_components.

Execution Information

Parameters

ComponentTrainingIDComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingIDcomponent_training_id (input_control)  component_training HComponentTraining, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the training result.

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

Possible Predecessors

train_model_componentstrain_model_componentsTrainModelComponentsTrainModelComponentsTrainModelComponentstrain_model_components

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_training_componentsdeserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsDeserializeTrainingComponentsdeserialize_training_components

Module

Matching