docstr: Test that a train phase checkpoint with a where of 1.0 can be loaded
code: def test_final_train_checkpoint(self):
      """Test that a train phase checkpoint with a where of 1.0 can be loaded"""
  
      config = get_fast_test_task_config()
      task = build_task(config).set_hooks(
          [CheckpointHook(self.base_dir, {}, phase_types=["train"])]
      )
      task_2 = build_task(config)
  
      task.set_use_gpu(torch.cuda.is_available())
  
      trainer = LocalTrainer()
      trainer.train(task)
  
      self.assertAlmostEqual(task.where, 1.0, delta=1e-3)
  
      # set task_2's state as task's final train checkpoint
      task_2.set_checkpoint(self.base_dir)
      task_2.prepare()
  
      # we should be able to train the task
      trainer.train(task_2)
  
imports: import copy
  import itertools
  import shutil
  import tempfile
  import unittest
  import torch
  import torch.nn
  from classy_vision.dataset import build_dataset
  from classy_vision.generic.distributed_util import is_distributed_training_run
  from classy_vision.generic.util import get_checkpoint_dict, get_torch_version
  from classy_vision.hooks import CheckpointHook, LossLrMeterLoggingHook
  from classy_vision.losses import build_loss, ClassyLoss, register_loss
  from classy_vision.models import build_model, ClassyModel
  from classy_vision.optim import build_optimizer, SGD
  from classy_vision.tasks import build_task, ClassificationTask
  from classy_vision.trainer import LocalTrainer
  from test.generic.config_utils import get_fast_test_task_config, get_test_task_config
  from test.generic.utils import compare_model_state, compare_samples, compare_states, LimitedPhaseTrainer
label_desc: Use image node_id 12 for calling the TestClassificationTask obj's underlying member method code with example usage: obj.test_final_train_checkpoint() without return types