axon_onnx icon indicating copy to clipboard operation
axon_onnx copied to clipboard

Adding Helper module

Open stefkohub opened this issue 3 years ago • 2 comments

As agreed I have cleaned up the code of an Helper module, which is a partial port from Python ONNX library. This patch is including three files:

  • lib/axon_onnx/helper.ex which is the main helper module
  • lib/axon_onnx/mapping.ex which is a module containing some constant conversion functions (e.g. from :FLOAT atom to its byte size)
  • test/helper_module_test.exs which is containing some unit tests

stefkohub avatar Jan 03 '22 14:01 stefkohub

I have some problem with mix format in CI/CD chain. It complains about deserialize.ex but I haven't touched it and this is the result of mix format on this file:

$ mix format --check-formatted lib/axon_onnx/deserialize.ex
$

stefkohub avatar Jan 03 '22 14:01 stefkohub

Now it merged perfectly.

stefkohub avatar Jan 26 '22 10:01 stefkohub