dopt 0.3.18
A numerical optimisation and deep learning framework
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
dopt
A numerical optimisation and deep learning framework for D.
Current features include:
- Ability to construct symbolic representations of tensor-valued functions
- Basic arithmetic and mathematical operations (add, sub, mul, div, abs, log, exp, ...)
- Basic matrix operations (multiplication, transpose)
- Reverse-mode automatic differentiation
- Neural network primitives
- Neural network construction utilities
- Several prebuilt models (VGG, Wide ResNet)
- Framework to add third party operations and their derivatives, and the ability register implementations for both the CPU and CUDA backends
- Online optimisation algorithms: SGD, ADAM, AMSGrad, and more to come!
The project is still in the early stages, and some things might not work properly yet. Some planned future features include:
- The ability to add optimisation passes to the CPU and CUDA backends
- More utilities for training deep networks (data loaders, standard training loops, etc)
Docs
Documentation can be found here. A brief outline of how to use this framework for deep learning is provided here.
Using
The easiest way to use dopt is by adding it as a dependency in your project's dub configuration file. See dub's getting started page for more information about how to do this.
If you want to take advantage of the CUDA backend (currently required for most neural network operations) then you should also ensure that the cuda
configuration is used. This is the sort of thing you would end up putting in your dub.json file:
"dependencies": {
"dopt": "~>0.3.17"
},
"subConfigurations": {
"dopt": "cuda"
}
Example
Examples for training networks on MNIST, CIFAR-10, CIFAR-100, and SINS-10 are given in the examples/
folder.
- Registered by Henry Gouk
- 0.3.18 released 6 years ago
- henrygouk/dopt
- BSD 3-clause
- Copyright © 2017, Henry Gouk
- Authors:
- Sub packages:
- dopt:core, dopt:cpu, dopt:cuda, dopt:nnet, dopt:online
- Dependencies:
- none
- Versions:
-
0.3.18 2018-Jul-31 0.3.17 2018-Jun-27 0.3.16 2018-Jun-07 0.3.15 2018-Jun-02 0.3.14 2018-Jun-02 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
104 downloads total
-
- Score:
- 1.7
- Short URL:
- dopt.dub.pm