The only function I know to save a trained model is trainer.SaveCheckpoint which can save the CNTK model, but I cannot find how to save the model to ONNX format in C#
On the documentation site here https://learn.microsoft.com/en-us/cognitive-toolkit/serialization
I can find only the python method to save it as ONNX
z.save("myModel.onnx", format=C.ModelFormat.ONNX)
But this does not work in C#
Functionobject of .NET Managed library has a private method_Savewith the following signature:You can execute it via Reflection: