ott.initializers.linear.initializers_lr.GeneralizedKMeansInitializer.init_g#

GeneralizedKMeansInitializer.init_g(ot_prob, key, **kwargs)#

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

Parameters
Return type

Array

Returns

Array of shape [rank,].