Skip to content

ustcwanglin/FeedForwardDNNTrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FeedForwardDNNTrain

=======

The aim of the FeedForwardDNNTrain project is to perform basic training of feed forward deep nueral network, based on CUDAMat, which provides a Python matrix class that performs matrix calculations on CUDA-enabled GPUs from Python.

Example:

import numpy as np 
import cudamat as cm 

cm.cublas_init()

# create two random matrices and copy them to the GPU
a = cm.CUDAMatrix(np.random.rand(32, 256))
b = cm.CUDAMatrix(np.random.rand(256, 32))

# perform calculations on the GPU
c = cm.dot(a, b)
d = c.sum(axis = 0)

# copy d back to the host (CPU) and print
print(d.asarray())

Download

You can obtain the latest release from the repository by typing:

git clone https://github.com/ustcwanglin/FeedForwardDNNTrain.git

Installation

FeedForwardDNNTrain uses setuptools and can be installed via pip. For details, please see INSTALL.md.

Development

If you want to contribute new features or improvements, you're welcome to fork FeedForwardDNNTrain on github and send us your pull requests! Please see CONTRIBUTE.md if you need any help with that.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages