Deep Learning using SPVM

SPVM is a Perl-like static typed programing language that can generate an executable file.

A Perl Program using SPVM partially version 1 - MNIST

A Perl deep learning program is rewrriten using SPVM partially. Performance has improved.

A Perl Program using SPVM partially version 2 - MNIST

The above program is rewritten using SPVM partially. Performance is even better.

SPVM program - MNIST

The above program is rewritten using full SPVM with R class to manipulate n-dimentional array. Performance has improved and an executable file can be generated.

Install dependent modules.

cpanm SPVM
cpanm SPVM::Errno
cpanm SPVM::File::Basename
cpanm SPVM::File::Spec
cpanm SPVM::FindBin
cpanm SPVM::Math
cpanm SPVM::Regex
cpanm SPVM::Sys
cpanm SPVM::Time::Local
cpanm SPVM::Time::Piece
cpanm SPVM::IO
cpanm SPVM::R

Execute an SPVM program.

spvm -I network_lib/SPVM my_minist_app.spvm

Generate an executable file and execute it.

spvmcc -I network_lib/SPVM -o my_minist_app my_minist_app.spvm

./my_minist_app

Associated Information