addOptimizerVariable

fun addOptimizerVariable(variable: Variable<Float>)

Adds a variable used in optimizer to the pool of tracked variables.

Parameters

variable

Optimizer variable to track in KGraph.