sekwiatkowski / komputation

Komputation is a neural network framework for the Java Virtual Machine written in Kotlin and CUDA C.

Home Page:http://komputation.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Komputation

Komputation is a neural network framework for the Java Virtual Machine written in Kotlin and CUDA C.

Maven

Komputation is available through Maven Central:

<dependency>
    <groupId>com.komputation</groupId>
    <artifactId>komputation</artifactId>
    <version>0.12.5</version>
</dependency>

Layers

CPU demos

GPU/CUDA demos

Sample code

The following code instantiates a GPU-accelerated convolutional neural network for sentence classification:

    val sentenceClassifier = cudaNetwork(
        batchSize,
        lookup(embeddings, maximumDocumentLength, embeddingDimension, optimization),
        convolution(numberFilters, filterWidth, filterHeight, initialization, optimization),
        relu(),
        dropout(random, keepProbability),
        dense(numberCategories, Activation.Softmax, initialization, optimization)
    )

See the TREC demo for more details.

Initialization

Loss functions

Optimization

About

Komputation is a neural network framework for the Java Virtual Machine written in Kotlin and CUDA C.

http://komputation.com

License:Other


Languages

Language:Kotlin 85.8%Language:Cuda 14.1%Language:C++ 0.1%