class_docstr: FiftyOne wrapper around a ``transformers.models`` model for image
  classification.
  
  Args:
      config: a `FiftyOneTransformerConfig`
class_docstr_tok: ["FiftyOne","wrapper","around","a","``","transformers.models","``","model","for","image","classification",".","Args",":","config",":","a","`","FiftyOneTransformerConfig","`"]
code: def _predict(self, inputs):
      with torch.no_grad():
          results = self.model(**inputs)
      return to_classification(results, self.model.config.id2label)
  
imports: import numpy
  from fiftyone.core.config import Config
  import fiftyone.core.labels
  from fiftyone.core.models import Model, EmbeddingsMixin
  import fiftyone.core.utils
label_desc: Use image node_id 2 for calling the FiftyOneTransformerForImageClassification obj's underlying member method code with example usage: obj._predict(inputs) and returns: to_classification