serialize_class_mlpT_serialize_class_mlpSerializeClassMlpSerializeClassMlpserialize_class_mlp (Operator)
Name
serialize_class_mlpT_serialize_class_mlpSerializeClassMlpSerializeClassMlpserialize_class_mlp
— Serialize a multilayer perceptron (MLP).
Signature
def serialize_class_mlp(mlphandle: HHandle) -> HHandle
Description
serialize_class_mlpserialize_class_mlpSerializeClassMlpSerializeClassMlpserialize_class_mlp
serializes a multilayer perceptron (MLP) 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_mlpwrite_class_mlpWriteClassMlpWriteClassMlpwrite_class_mlp
and
write_samples_class_mlpwrite_samples_class_mlpWriteSamplesClassMlpWriteSamplesClassMlpwrite_samples_class_mlp
is converted to a serialized item.
The multilayer perceptron is defined by the handle MLPHandleMLPHandleMLPHandleMLPHandlemlphandle
.
The serialized multilayer perceptron is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_class_mlpdeserialize_class_mlpDeserializeClassMlpDeserializeClassMlpdeserialize_class_mlp
.
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
MLPHandleMLPHandleMLPHandleMLPHandlemlphandle
(input_control) class_mlp →
HClassMlp, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
MLP 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_mlpserialize_class_mlpSerializeClassMlpSerializeClassMlpserialize_class_mlp
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
train_class_mlptrain_class_mlpTrainClassMlpTrainClassMlptrain_class_mlp
Possible Successors
clear_class_mlpclear_class_mlpClearClassMlpClearClassMlpclear_class_mlp
,
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_class_mlpdeserialize_class_mlpDeserializeClassMlpDeserializeClassMlpdeserialize_class_mlp
See also
create_class_mlpcreate_class_mlpCreateClassMlpCreateClassMlpcreate_class_mlp
,
read_class_mlpread_class_mlpReadClassMlpReadClassMlpread_class_mlp
,
write_samples_class_mlpwrite_samples_class_mlpWriteSamplesClassMlpWriteSamplesClassMlpwrite_samples_class_mlp
,
deserialize_class_mlpdeserialize_class_mlpDeserializeClassMlpDeserializeClassMlpdeserialize_class_mlp
Module
Foundation