Skip to content
/ libml Public

LibML is a library for loading, configuring, and running machine learning models in production. It provides a simple high-level API for C++ applications. LibML uses TensorFlow with XNNPACK acceleration for low latency inference.

Notifications You must be signed in to change notification settings

snort3/libml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibML

Description

LibML is a library for loading, configuring, and running machine learning models in production. It provides a simple high-level API for C++ applications. LibML uses TensorFlow with XNNPACK acceleration for low latency inference.

Install

./configure.sh
cd build
sudo make -j$(nproc) install

Examples

Binary Classifier

BinaryClassifier classifier;

if(!classifier.buildFromFile(model_path))
    return 1;

float output = 0.0;

if(!classifier.run(input, input_size, output))
    return 1;

std::cout << "output: " << output << "%\n";

Build Dependencies

  • CMake
  • C++ Compiler

About

LibML is a library for loading, configuring, and running machine learning models in production. It provides a simple high-level API for C++ applications. LibML uses TensorFlow with XNNPACK acceleration for low latency inference.

Resources

Stars

Watchers

Forks

Packages

No packages published