Skip to content

Clay

[C] Introduction of Arrays

Array is a data storage format in which data is stored in continuous memory space; that is the memory locations between each element are adjacent.

In C programming language, we can declare a variable to represents the entire array. For example, the format x[10] means that there are 10 records stored in the x array, and the index are from 0 to 9.

Read More »[C] Introduction of Arrays

[C] For loop (The For Statement)

In the previous note, I recorded how to program conversion between Celsius and Fahrenheit ([C] Variables and Arithmetic Expressions). In the process, we continuously increase the Fahrenheit temperature through the while loop, and view the converted Celsius temperature result.

If you want the program to execute the same command over and over again, you can also use a for loop to do this.

Read More »[C] For loop (The For Statement)

[PyTorch] Tutorial(5) How to train a model to classify CIFAR-10 database

Today we challenged the classifiers of different data sets again. This time, CIFAR-19 is a more difficult problem than MNIST handwriting recognition. In addition to the size of the picture becoming 32×32, CIFAR-10 is no longer a pure grayscale value, but a picture with the three primary colors of RGB.

Read More »[PyTorch] Tutorial(5) How to train a model to classify CIFAR-10 database