Get the latest tech news

Creating a tiny tensor library in C


creating a tiny tensor library in raw C. Contribute to apoorvnandan/tensor.h development by creating an account on GitHub.

In fact, we'll create the needed abstractions and show just how easy it is to code and train different neural network architectures with this tiny library. There is a clear set of instructions ( for each pixel: change RGB value to new_value = 0.299R + 0.587G + 0.114B) that you can code in your favorite programming language and create a function that will solve this task. The entire point I'm trying to convey in this section is that you need stride and shape values along with the 1D array of items to be able to perform operations on N-D tensors.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of tiny tensor library

tiny tensor library