deserialize_from_file

Applicable Products

Product

Supported

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Function Description

Deserializes the serialized pickle file to restore Python objects.

Prototype

1
deserialize_from_file(pkl_file, work_path=None)

Parameters

Parameter

Data Type

Value Description

pkl_file

str

Path of the serialized pickle file.

work_path

str

Working path for serialization.

Returns

Restored Python object.

Examples

1
2
import dataflow as df
obj = df.msg_type_register.deserialize_from_file('file1')

Constraints

None