Skip to main content

Module compat

Module compat 

Source
Expand description

Backwards compatibility with zTensor v0.1.0 format.

The unified Reader now handles both v0.1.0 and v1.2 files. This module provides a type alias for backwards compatibility and utility functions for format detection.

Functions§

is_legacy_file
Checks if a file at path is v0.1.0 format.
is_legacy_format
Checks if a reader contains v0.1.0 format by reading magic.

Type Aliases§

LegacyReader
Type alias for backwards compatibility. LegacyReader is now just Reader.