Neural network library written in C and Javascript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example-new bug fix Sep 21, 2018
example bug fix^2 Aug 17, 2018
tools
README.md bug fix^2 Aug 17, 2018
catseye.cl added CATS_USE_FLOAT to mnist_cnn_train.c Nov 15, 2016
catseye.h new loss functions Sep 23, 2018
catseye.js added new algorithm for convolution to speed up May 24, 2016
catseye_cl.h fixed bug for paint.c Nov 21, 2016
catseye_simd.h fixed some bugs May 30, 2016
ocl.h fixed some bugs for paint.c Sep 7, 2016
pssub.h added function approximation sample Feb 15, 2016
stb_image.h
stb_image_write.h update stb_image*.h Apr 7, 2018

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