DenseImpl

class DenseImpl<T : DType, V>(val executionContext: ExecutionContext, inputDimension: Int, _outputDimension: Int, id: String, kClass: KClass<T>) : DENSE<T, V> (source)

Constructors

Link copied to clipboard
constructor(executionContext: ExecutionContext, inputDimension: Int, _outputDimension: Int, id: String, kClass: KClass<T>)

Properties

Link copied to clipboard
open override var activation: (Tensor<T, V>) -> Tensor<T, V>
Link copied to clipboard
open override val biasShape: Shape
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var trainable: Boolean
Link copied to clipboard
open override var units: Int
Link copied to clipboard
open override val weightsShape: Shape

Functions

Link copied to clipboard
open override fun bias(initBlock: BiasScope<T, V>.(Shape) -> Tensor<T, V>)
Link copied to clipboard
fun create(): List<Module<T, V>>
Link copied to clipboard
open override fun weights(initBlock: WeightsScope<T, V>.(Shape) -> Tensor<T, V>)