Git Product home page Git Product logo

mli's Introduction

mli

MLI intends to provide modern, data-driven abstractions for machine learning.

MLI provides traits that work much like Combine's Parser, Serde's Serialize and Deserialize, std's Iterator, and future's Future and Stream. One should only need to have to create tensor processing primitives and then string them together to craft a large system that continues to be useful as a primitive in an even larger system.

Core Crates

  • mli
    • Core crate with traits
    • Works with #![no_std]
  • mli-relu
    • Contains linear activation functions
    • Doesn't work with #![no_std] (blocked by this)
  • mli-sigmoid
    • Contains sigmoid activation functions
    • Doesn't work with #![no_std] (blocked by this)
  • mli-conv
    • Contains convolution implementations
  • mli-ndarray
    • Allows interoperability between mli and ndarray
      • Mapping activation functions over tensors

Goals

  • Fast CPU forwards and backwards propogation.
  • Abstraction over multiple backends.
  • Automatic serialization/deserialization derivations of all state data (using serde).
  • Get complete reuse out of tensor code without any overhead for abstractions.
  • Allow building tensor pipelines that can talk over streams to allow multi-node setups.
    • It is a non-goal to implement the orchestration of these pipelines in this crate.

Const Generics

This API is completely usable in its current form, but once const generics are working and stable, this API will be updated to account for tensor dimensionality at compile time. This likely wont affect the core mli crate, but it will affect the associated types used in several of the other core crates.

mli's People

Contributors

vadixidav avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.