class_docstr: Modified ResNet50 (without the last layer) feature extractor for regular 224x224 images.
  
  Args:
      weights (models.ResNet50_Weights or string): The pretrained weights to use. See
       https://pytorch.org/vision/stable/models/generated/torchvision.models.resnet50.html#torchvision.models.ResNet50_Weights
      for more details. By default, ResNet50_Weights.DEFAULT will be used.
code: def output_size(self):
      return self._out_features
  
imports: import torch.nn
  from torch.nn import functional
  from torchvision import models
label_desc: Use image node_id 3 for calling the ResNet50Feature obj's underlying member method code with example usage: obj.output_size() and returns: self