serialize
Function Usage
Serializes the image memory data and metadata, and saves them to drives as files.
Prototype
1 | serialize(filePath: str, forceOverwrite: bool = False); |
Input Parameters
Parameter |
Type |
Description |
|---|---|---|
filePath |
str |
Path for storing serialized data files (including file names). Soft links are not supported. |
forceOverwrite |
bool |
Indicates whether to forcibly overwrite the existing file when saving the file. The default value is False, indicating that the existing file is not overwritten. |
Parent topic: Image