Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 752 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 752 Bytes

Go library

This directory contains the Go library for Magika.

The inference relies on the ONNX Runtime, and it requires cgo for interfacing with the ONNX Runtime C API.

  • docker contains a sample docker file that builds a container image that ties together a Magika CLI, an ONNX Runtime, and a model.
  • cli contains a basic CLI that illustrates how to the Magika go library may be called from within an application.
  • magika contains the library, that extracts features from a sequence of bytes.
  • onnx wraps the C API of the ONNX Runtime to provide an inference engine.