pycasx.cli.convert_to_onnx

Translate the NNet files into ONNX files.

Module Contents

Functions

convert_to_onnx(cfg)

Convert NNet to onnx.

Attributes

ROOT_FOLDER

HCAS_FOLDER

VCAS_FOLDER

cs

pycasx.cli.convert_to_onnx.ROOT_FOLDER
pycasx.cli.convert_to_onnx.HCAS_FOLDER
pycasx.cli.convert_to_onnx.VCAS_FOLDER
pycasx.cli.convert_to_onnx.cs
pycasx.cli.convert_to_onnx.convert_to_onnx(cfg)

Convert NNet to onnx.

Search for all .NNet files in the default directory and convert them to onnx model files.

Parameters:

cfg (ONNXConfig) – The configuration for the onnx command.

Return type:

None