[docs]@abc.abstractmethoddefforward(self,features:list[Tensor])->list[Tensor]:"""Feature pyramid processing. This module do a further processing for the hierarchical feature representation extracted by the base models. Args: features (list[Tensor]): Feature pyramid as outputs of the base model. Returns: list[Tensor]: Feature pyramid after the processing. """raiseNotImplementedError
[docs]def__call__(self,features:list[Tensor])->list[Tensor]:"""Type definition for call implementation."""returnself._call_impl(features)