InitializerOperation

data class InitializerOperation(assign: Operand<Float>, initialValue: Operand<Float>)

A class that keeps information which allows to initialize KVariable.

Constructors

InitializerOperation
Link copied to clipboard
fun InitializerOperation(assign: Operand<Float>, initialValue: Operand<Float>)

Functions

fill
Link copied to clipboard
fun fill(data: Any, session: Session)

Fill the variable using the given data

run
Link copied to clipboard
fun run(session: Session)

Initialize the variable using the default initializer

Properties

assign
Link copied to clipboard
val assign: Operand<Float>

assign operation for the variable

initialValue
Link copied to clipboard
val initialValue: Operand<Float>

value generated by the default initializer