addVariableRegularizer

fun addVariableRegularizer(variable: Variable<Float>, regularizer: Regularizer)

Adds a variable related to the given regularizer to the pool of tracked variables.

Parameters

variable

TensorFlow variable to track in KGraph.

regularizer

The regularizer related to the given variable.