class_docstr: Abstract base class for training defences.
docstr: Train the model.
  
  :param x: Training data.
  :param y: Labels for the training data.
  :param kwargs: Other parameters.
code: def fit(self, x: np.ndarray, y: np.ndarray, **kwargs) -> None:
      """
      Train the model.
  
      :param x: Training data.
      :param y: Labels for the training data.
      :param kwargs: Other parameters.
      """
      raise NotImplementedError
  
file_path: adversarial-robustness-toolbox/art/defences/trainer/trainer.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import abc
  from typing import TYPE_CHECKING
  import numpy
label_desc: Use image node_id 2 for calling the Trainer obj's underlying member method code with example usage: obj.fit(x, y) without return types