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_mlpSerializeClassMlpSerializeClassMlpSerializeClassMlpserialize_class_mlp
serializes a multilayer perceptron (MLP) and
its stored training samples (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_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpWriteClassMlpwrite_class_mlp
and
write_samples_class_mlpwrite_samples_class_mlpWriteSamplesClassMlpWriteSamplesClassMlpWriteSamplesClassMlpwrite_samples_class_mlp
is converted to a serialized item.
The multilayer perceptron is defined by the handle MLPHandleMLPHandleMLPHandleMLPHandleMLPHandlemlphandle
.
The serialized multilayer perceptron is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_class_mlpdeserialize_class_mlpDeserializeClassMlpDeserializeClassMlpDeserializeClassMlpdeserialize_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
MLPHandleMLPHandleMLPHandleMLPHandleMLPHandlemlphandle
(input_control) class_mlp →
HClassMlp, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
MLP handle.
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_class_mlpserialize_class_mlpSerializeClassMlpSerializeClassMlpSerializeClassMlpserialize_class_mlp
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Predecessors
train_class_mlptrain_class_mlpTrainClassMlpTrainClassMlpTrainClassMlptrain_class_mlp
Possible Successors
clear_class_mlpclear_class_mlpClearClassMlpClearClassMlpClearClassMlpclear_class_mlp
,
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_class_mlpdeserialize_class_mlpDeserializeClassMlpDeserializeClassMlpDeserializeClassMlpdeserialize_class_mlp
See also
create_class_mlpcreate_class_mlpCreateClassMlpCreateClassMlpCreateClassMlpcreate_class_mlp
,
read_class_mlpread_class_mlpReadClassMlpReadClassMlpReadClassMlpread_class_mlp
,
write_samples_class_mlpwrite_samples_class_mlpWriteSamplesClassMlpWriteSamplesClassMlpWriteSamplesClassMlpwrite_samples_class_mlp
,
deserialize_class_mlpdeserialize_class_mlpDeserializeClassMlpDeserializeClassMlpDeserializeClassMlpdeserialize_class_mlp
Module
Foundation