code: def float_metric(model_out: Tensor, target: int):
      return model_out[:, target]
  
imports: import collections
  from typing import List
  import torch
  from captum.robust import AttackComparator, FGSM
  from tests.helpers.basic import assertTensorAlmostEqual, BaseTest
  from tests.helpers.basic_models import BasicModel, BasicModel_MultiLayer
  from torch import Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: float_metric(model_out, target) and returns: model_out