serialize_variation_modelT_serialize_variation_modelSerializeVariationModelSerializeVariationModelserialize_variation_model (Operator)
Name
serialize_variation_modelT_serialize_variation_modelSerializeVariationModelSerializeVariationModelserialize_variation_model
— Serialize a variation model.
Signature
def serialize_variation_model(model_id: HHandle) -> HHandle
Description
serialize_variation_modelserialize_variation_modelSerializeVariationModelSerializeVariationModelSerializeVariationModelserialize_variation_model
serializes the data of a variation model
(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_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModelwrite_variation_model
is converted to a serialized
item. The variation model is defined by the handle
ModelIDModelIDModelIDModelIDmodelIDmodel_id
. The serialized variation model is returned by the
handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_variation_modeldeserialize_variation_modelDeserializeVariationModelDeserializeVariationModelDeserializeVariationModeldeserialize_variation_model
.
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
ModelIDModelIDModelIDModelIDmodelIDmodel_id
(input_control) variation_model →
HVariationModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
ID of the variation model.
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_variation_modelserialize_variation_modelSerializeVariationModelSerializeVariationModelSerializeVariationModelserialize_variation_model
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModelTrainVariationModeltrain_variation_model
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_variation_modeldeserialize_variation_modelDeserializeVariationModelDeserializeVariationModelDeserializeVariationModeldeserialize_variation_model
See also
read_variation_modelread_variation_modelReadVariationModelReadVariationModelReadVariationModelread_variation_model
,
write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModelwrite_variation_model
Module
Matching