src/transformers/models/van/convert_van_to_pytorch.py/Tracker/parametrized
class Tracker:    def parametrized(self):
        # check the len of the state_dict keys to see if we have learnable params
        return list(filter(lambda x: len(list(x.state_dict().keys())) > 0, self.traced))