Skip to content

Latest commit

 

History

History

go

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.