ott.initializers.linear.initializers_lr.Rank2Initializer.init_g#

Rank2Initializer.init_g(ot_prob, rng, **kwargs)[source]#

Initialize the low-rank factor \(g\).

Parameters:
Return type:

Array

Returns:

Array of shape [rank,].