class_docstr: This module implements the task specific estimator for PyTorch object detection models following the input and
  output formats of torchvision.
class_docstr_tok: ["This","module","implements","the","task","specific","estimator","for","PyTorch","object","detection","models","following","the","input","and","output","formats","of","torchvision","."]
code: def get_activations(
      self,
      x: np.ndarray,
      layer: Union[int, str],
      batch_size: int,
      framework: bool = False,
  ) -> np.ndarray:
      raise NotImplementedError
  
imports: import logging
  from typing import List, Dict, Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  from art.estimators.object_detection.object_detector import ObjectDetectorMixin
  from art.estimators.object_detection.utils import cast_inputs_to_pt
  from art.estimators.pytorch import PyTorchEstimator
label_desc: Use image node_id 13 for calling the PyTorchObjectDetector obj's underlying member method code with example usage: obj.get_activations(x, layer, batch_size, framework) without return types