class_docstr: Factorization Machines base class.
docstr: Updates latent weights.
docstr_tok: ["Updates","latent","weights","."]
code: def _update_latents(self, x: dict, g_loss: float):
      """Updates latent weights."""
  
imports: from __future__ import annotations
  import abc
  import collections
  import numbers
  from collections.abc import Iterable
  import numpy
  from river import optim, utils
label_desc: Use image node_id 15 for calling the BaseFM obj's underlying member method code with example usage: obj._update_latents(x, g_loss) without return types