onnx_diagnostic.torch_export_patches.serialization¶ submodules onnx_diagnostic.torch_export_patches.serialization.diffusers_impl onnx_diagnostic.torch_export_patches.serialization.transformers_impl onnx_diagnostic.torch_export_patches.serialization.make_serialization_function_for_dataclass(cls: type, supported_classes: Set[type]) → Tuple[Callable, Callable, Callable][source][source]¶ Automatically creates serialization function for a class decorated with dataclasses.dataclass.