code: def _run_end2end(
      self,
      lr_scheduler,
      max_lr=1.0,
      warmup_updates=0,
      total_steps=100,
      **args,
  ):
      testing_utils.train_model(
          {
              "task": "integration_tests:nocandidate",
              "model": "test_agents/unigram",
              "skip_generation": True,
              "lr_scheduler": lr_scheduler,
              "max_train_steps": total_steps,
              "warmup_updates": warmup_updates,
              "learningrate": max_lr,
          }
      )
  
imports: import os
  import unittest
  import torch
  import parlai.nn.lr_scheduler
  import parlai.utils.testing
label_desc: Use image node_id 9 for calling the TestLRSchedulers obj's underlying member method code with example usage: obj._run_end2end(lr_scheduler, max_lr, warmup_updates, total_steps) without return types