lgarithm / crystalnet

crystalnet -- a mini core AI library (being refactored, see https://github.com/lgarithm/stdnn-ops)
MIT License
16 stars 3 forks source link

[RFC] 007 ABI #29

Open lgarithm opened 6 years ago

lgarithm commented 6 years ago

draft

API defines how to serials objects to binary.

ABI for Tensors

We adopt the idx format (used by the MNIST dataset) for tensors. Other ABI format will be encapulation format on top of the idx format.

ABI for model

TBD

lgarithm commented 6 years ago

Conversion between other formats

import/export bmp24 should have builtin support import/export npz should have support via extension import jpeg should have support via extension (libjpeg or Golang jpeg)