mmdeploy/utils/test.py
def forward(self, *args, **kwargs):
        """Run forward of the model."""
        kwargs.update(self.kwargs)
        func = getattr(self.model, self.func_name)
        return func(*args, **kwargs)
Run forward of the model.
Run forward of the model.
Run forward of the model .
def forward(self, *args, **kwargs):
        kwargs.update(self.kwargs)
        func = getattr(self.model, self.func_name)
        return func(*args, **kwargs)
def forward ( self , * args , ** kwargs ) : kwargs . update ( self . kwargs ) func = getattr ( self . model , self . func_name ) return func ( * args , ** kwargs )
Run forward of the model.
Run forward of the model .
"""Run forward of the model."""
self