Skip to content
/ VMF Public

Various Math Functions, math functions which are often used in ANNs

License

Notifications You must be signed in to change notification settings

N0CTRON/VMF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview The Various Math Functions (VMF) library is a collection of mathematical functions for various applications. It provides implementations of ReLU, Leaky ReLU, Sigmoid, and Heaviside step functions, currently on CPU only, but were working on a CUDA version.

Features The VMF library offers the following features:

  • ReLU (Rectified Linear Unit) activation function
  • Leaky ReLU activation function with adjustable slope
  • Sigmoid function
  • Heaviside step function

Example Usage An example can be found in the main.cpp file. Building and Running To build and run the VMF library, follow these steps:

  1. Clone the repository: git clone https://github.com/N0CTRON/VMF
  2. Navigate to the repository directory: cd VMF
  3. Compile the code: g++ -o main main.cpp vmf.hpp
  4. Run the program: chmod +x ./main && ./main

Importing To use the VMF library in your own projects, simply include the vmf.cpp / vmf.cu file in your code and use the provided functions.

License The VMF library is licensed under the Apache 2.0 License.

About

Various Math Functions, math functions which are often used in ANNs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published