Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.08 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.08 KB
Logo

A simple implementation of some functions that can be used for AI development like linear regression, a data-parser and a minimal tensor implementation.

Inspired by the pytorch Python package, definetly also the name :)

Features

  • Small tensor module
  • Module methods to use linear regression with:
    • CSV file parser
    • Examples implementation

Installation

  1. Navigate to the folder to hold the code: cd disired/path/here
  2. Clone the repo: git clone https://github.com/mp3skater/ctorch.git

Info: cmake and gcc need to be installed, more info here

Usage

For the main module

  1. Look at the src/test.c file to see the implementation.
  2. To execute write: make run

For tensor module

  1. Look at the tensor/test.c file to see the implementation.
  2. To execute write: make tensor

License

This project is licensed under the MIT License