deserialize_from_file

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

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

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