All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.komputation.cuda.loss.CudaLossFunction.kt Maven / Gradle / Ivy

Go to download

Komputation is a neural network framework for the JVM written in the Kotlin programming language.

There is a newer version: 0.12.5
Show newest version
package com.komputation.cuda.loss

import jcuda.Pointer
import com.komputation.layers.Resourceful

interface CudaLossFunction : Resourceful {

    fun accumulate(pointerToPredictions: Pointer, pointerToTargets : Pointer, batchSize: Int)

    fun accessAccumulation() : Float

    fun backward(pointerToPredictions: Pointer, pointerToTargets : Pointer, batchSize : Int): Pointer

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy