# onnx_ir.external_data ```{eval-rst} .. automodule::onnx_ir.external_data .. currentmodule:: onnx_ir.external_data ``` The `onnx_ir.external_data` module provides utilities for handling external data in ONNX models. It enables the conversion of tensors to and from external data files, allowing for efficient storage and manipulation of large tensor data. This is particularly useful for models with large initializers that exceed memory constraints. ## Functions ```{eval-rst} .. autofunction:: load_to_model .. autofunction:: unload_from_model .. autofunction:: convert_tensors_to_external .. autofunction:: convert_tensors_from_external .. autofunction:: set_base_dir ```