docstr: A method to be implemented by child class that will train a neural network.
docstr_tok: ["A","method","to","be","implemented","by","child","class","that","will","train","a","neural","network","."]
code: def train(self):
      r"""
      A method to be implemented by child class that will train a neural network.
      """
      return
  
imports: import functools
  import time
  from abc import ABC, abstractmethod
  import torch
  from metrics.MetricsLogger import MetricsLogger
label_desc: Use image node_id 2 for calling the TrainerBase obj's underlying member method code with example usage: obj.train() without return types