Neural network library written in C and Javascript
C JavaScript HTML Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
README.md
catseye.cl
catseye.h
catseye.js
catseye_cl.h
catseye_simd.h
ocl.h
pssub.h
stb_image.h
stb_image_write.h

README.md

Cat's Eye

Neural network library written in C and Javascript

Features

  • Lightweight and minimalistic:
    • Header only
    • Just include catseye.h and write your model in c. There is nothing to install.
    • Small dependency & simple implementation
  • Fast: [under construction]
    • OpenCL support (GPGPU)
    • SSE, AVX support (But gcc and clang support SIMD...)
    • OpenMP support
    • Support half precision floats (16bit)
  • Support Deep Learning:
    • Multilayer perceptron (MLP)
    • Deep Neural Networks (DNN)
    • Convolutional Neural Networks (CNN)
    • Network in Network (NIN)
  • Supported networks:
    • Activation functions
      • sigmoid
      • tanh, scaled tanh (1.7519 * tanh(2/3x))
      • ReLU, Leaky ReLU, ELU
      • abs
      • identity
    • Loss functions
      • cross-entropy, mean-squared-error
    • Optimization algorithms
      • stochastic gradient descent (with/without L2 normalization and momentum)
    • Layer types
      • convolutional
      • max pooling
      • linear
      • CCCP, Cascaded Cross Channel Parametric Pooling
  • Loader formats:

Usage

Just include header files in your project.

for more information, see example/

$ cd example
$ make
$ ./sin

Demo

Refrence