KVariable

data class KVariable(name: String, shape: Shape, variable: Variable<Float>, initializerOperation: InitializerOperation, regularizer: Regularizer?)

A class that keeps information about a single parameter of the Layer.

Constructors

KVariable
Link copied to clipboard
fun KVariable(name: String, shape: Shape, variable: Variable<Float>, initializerOperation: InitializerOperation, regularizer: Regularizer?)

Properties

initializerOperation
Link copied to clipboard
val initializerOperation: InitializerOperation

variable initializer

name
Link copied to clipboard
val name: String

name of the variable

regularizer
Link copied to clipboard
val regularizer: Regularizer?

variable regularizer

shape
Link copied to clipboard
val shape: Shape

shape of the variable

variable
Link copied to clipboard
val variable: Variable<Float>

corresponding Variable object