add_oakemu_metadata_to_onnx
python
add_oakemu_metadata_to_onnx(onnx_path: str | PathLike, game_configuration: str | PathLike | GameConfiguration, model_configuration: str | PathLike | ModelConfiguration, training_configuration: str | PathLike | TrainingConfiguration | None = None, author: str | None = None, licence: str | None = None, output_path: str | PathLike | None = None) -> NoneAdd OakEmu-specific metadata to an ONNX model file.
Parameters:
onnx_path(str | PathLike) – Path to the source ONNX file.game_configuration(str | PathLike | GameConfiguration) – Game configuration to embed.model_configuration(str | PathLike | ModelConfiguration) – Model configuration to embed.training_configuration(str | PathLike | TrainingConfiguration | None) – Optional training configuration to embed.author(str | None) – Optional author metadata.licence(str | None) – Optional licence metadata (written under thelicensekey).output_path(str | PathLike | None) – Optional path to save the modified model. If None, overwritesonnx_path.